Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 118.2 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001926/0.001926, allocations: 218.3 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 60.05 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1052, allocations: 53.38 MB / 427.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.2153/0.3205, allocations: 7.536 MB / 434.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009848/0.3304, allocations: 10.77 MB / 445.4 MB, free: 376 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3315, allocations: 123.8 kB / 445.5 MB, free: 284 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.3334, allocations: 0.7134 MB / 446.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004457/0.3379, allocations: 1.193 MB / 447.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.3402, allocations: 0.6818 MB / 448.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004685/0.3449, allocations: 2.57 MB / 450.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004124/0.3453, allocations: 180.7 kB / 450.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009508/0.3463, allocations: 0.5114 MB / 451.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007179/0.347, allocations: 0.5364 MB / 451.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3471, allocations: 57 kB / 451.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.3492, allocations: 0.772 MB / 452.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.3494, allocations: 184.1 kB / 452.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007689/0.3502, allocations: 0.6802 MB / 453.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003037/0.3532, allocations: 1.955 MB / 455.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3532, allocations: 0 / 455.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3532, allocations: 0 / 455.5 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.213e-05/0.3533, allocations: 1.375 kB / 455.5 MB, free: 11.61 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003547/0.3568, allocations: 2.043 MB / 457.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3569, allocations: 10.88 kB / 457.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.486e-05/0.3569, allocations: 15.53 kB / 457.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.357, allocations: 95.64 kB / 457.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002784/0.3573, allocations: 207.7 kB / 457.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.3595, allocations: 1.352 MB / 459.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.735e-05/0.3595, allocations: 31.67 kB / 459.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.743e-05/0.3596, allocations: 46.09 kB / 459.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.3605, allocations: 0.514 MB / 459.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3606, allocations: 1.219 kB / 459.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.3606, allocations: 15.34 kB / 459.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.3606, allocations: 18.08 kB / 459.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009344/0.3616, allocations: 471.6 kB / 460.3 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.3648, allocations: 2.115 MB / 462.4 MB, free: 7.449 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3658, allocations: 0.6521 MB / 463.1 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007389/0.3665, allocations: 468.5 kB / 463.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00629/0.3728, allocations: 4.915 MB / 468.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006129/0.3734, allocations: 312.3 kB / 468.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.3734, allocations: 0 / 468.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005185/0.3786, allocations: 2.421 MB / 471.2 MB, free: 496 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.3787, allocations: 62.25 kB / 471.2 MB, free: 428 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.3803, allocations: 1.289 MB / 472.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.3804, allocations: 35.92 kB / 472.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006211/0.381, allocations: 0.7034 MB / 473.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.3812, allocations: 236.6 kB / 473.5 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001912/0.3814, allocations: 122.3 kB / 473.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3815, allocations: 335.9 kB / 473.9 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004537/0.382, allocations: 215 kB / 474.1 MB, free: 14.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.3825, allocations: 365.5 kB / 474.5 MB, free: 14.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3836, allocations: 0.6126 MB / 475.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3836, allocations: 1.594 kB / 475.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001736/0.3853, allocations: 0.9633 MB / 476.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3854, allocations: 7.844 kB / 476.1 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/0.3855, allocations: 67.83 kB / 476.2 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/0.3859, allocations: 177.2 kB / 476.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.3864, allocations: 111 kB / 476.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.3898, allocations: 2.755 MB / 479.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.3905, allocations: 32.3 kB / 479.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.3905, allocations: 38 kB / 479.3 MB, free: 10.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (v.counter,$PRE.v.counter,v.counter2,$PRE.v.counter2,v.T0,$PRE.v.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005113/0.391, allocations: 269.8 kB / 479.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.3913, allocations: 191.4 kB / 479.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3934, allocations: 0.9635 MB / 480.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.3934, allocations: 10.56 kB / 480.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3934, allocations: 4 kB / 480.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3934, allocations: 3.984 kB / 480.7 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.3946, allocations: 0.8982 MB / 481.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.337e-05/0.3947, allocations: 60 kB / 481.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.395, allocations: 59.95 kB / 481.7 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.3955, allocations: 179.4 kB / 481.9 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3956, allocations: 23.98 kB / 481.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003272/0.3988, allocations: 2.759 MB / 484.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.3988, allocations: 3.938 kB / 484.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.4011, allocations: 1.186 MB / 485.9 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004969/0.4016, allocations: 263.9 kB / 486.1 MB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.4017, allocations: 12 kB / 486.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003722/0.4021, allocations: 15.98 kB / 486.1 MB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.4022, allocations: 53.02 kB / 486.2 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.613e-05/0.4023, allocations: 24 kB / 486.2 MB, free: 3.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001153/0.4034, allocations: 0.8612 MB / 487.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4034, allocations: 0 / 487.1 MB, free: 3.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001081/0.4045, allocations: 391.2 kB / 487.5 MB, free: 2.645 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,17,81.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003216/0.4077, allocations: 2.088 MB / 489.5 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4095, allocations: 0.882 MB / 490.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4095, allocations: 0 / 490.4 MB, free: 15.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.4106, allocations: 0.6047 MB / 491 MB, free: 14.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4118, allocations: 210.2 kB / 491.2 MB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.4258, allocations: 9.445 MB / 0.489 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000797/0.4266, allocations: 1.178 MB / 0.4901 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005116/0.4271, allocations: 183.2 kB / 0.4903 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006595/0.4277, allocations: 0.5696 MB / 0.4908 GB, free: 3.082 MB / 398.1 MB Notification: Performance of SimCode: time 1.624e-06/0.4277, allocations: 0 / 0.4908 GB, free: 3.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08052/0.5083, allocations: 29.9 MB / 0.52 GB, free: 5.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.61, allocations: 18.23 kB / 0.5201 GB, free: 5.289 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator_fmu --startTime=0 --stopTime=0.025 --stepSize=4.998e-06 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Spice3_Examples_Oscillator.fmu > Modelica_trunk_Modelica.Electrical.Spice3.Examples.Oscillator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.10762909601908] Failed to read output from testmodel.py, exit status != 0: ['time', 'T1.vbe', 'T2.vbe'] 14.770214758988004 14.795755853 14.437780996 Calling exit ...