Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009813/0.0009814, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3079/0.3079, allocations: 39.99 MB / 310.4 MB, free: 9.957 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005511, allocations: 20 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 57.95 MB / 436.8 MB, free: 2.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00355/0.1101, allocations: 2.813 MB / 439.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.1129, allocations: 1.494 MB / 441.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.1134, allocations: 19.88 kB / 441.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004799/0.1139, allocations: 91.28 kB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005228/0.1144, allocations: 199.4 kB / 441.4 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.1155, allocations: 415.2 kB / 441.8 MB, free: 13.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007064/0.1162, allocations: 0.5812 MB / 442.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002808/0.1165, allocations: 189 kB / 442.5 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.1169, allocations: 314.7 kB / 442.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.1173, allocations: 314.4 kB / 443.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.666e-05/0.1173, allocations: 24 kB / 443.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.688e-05/0.1174, allocations: 20 kB / 443.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002049/0.1176, allocations: 159.4 kB / 443.3 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.666e-05/0.1177, allocations: 133.3 kB / 443.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1181, allocations: 0.5261 MB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1181, allocations: 3.938 kB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1182, allocations: 0 / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.1182, allocations: 3.938 kB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001919/0.1201, allocations: 1.059 MB / 445.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1201, allocations: 15.98 kB / 445.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1203, allocations: 94.83 kB / 445.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000926/0.1212, allocations: 0.5421 MB / 445.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.307e-05/0.1213, allocations: 37 kB / 445.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.223e-05/0.1214, allocations: 55.91 kB / 445.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.1224, allocations: 0.6213 MB / 446.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1225, allocations: 3.938 kB / 446.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.1225, allocations: 20 kB / 446.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.1225, allocations: 8 kB / 446.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1236, allocations: 0.4939 MB / 447 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.127, allocations: 2.69 MB / 449.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.1282, allocations: 0.5819 MB / 450.2 MB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/0.1282, allocations: 4 kB / 450.2 MB, free: 4.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1283, allocations: 46.59 kB / 450.3 MB, free: 4.734 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.1283, allocations: 0 / 450.3 MB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002427/0.1307, allocations: 1.202 MB / 451.5 MB, free: 3.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.1308, allocations: 136.5 kB / 451.6 MB, free: 3.359 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.1316, allocations: 0.6528 MB / 452.3 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.1317, allocations: 37.7 kB / 452.3 MB, free: 2.656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.132, allocations: 364 kB / 452.7 MB, free: 2.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.1321, allocations: 177.6 kB / 452.8 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.1322, allocations: 15.88 kB / 452.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1323, allocations: 330 kB / 453.2 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006273/0.1329, allocations: 285.1 kB / 453.5 MB, free: 1.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/0.1336, allocations: 449.2 kB / 453.9 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.1343, allocations: 329.2 kB / 454.2 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1343, allocations: 4 kB / 454.2 MB, free: 0.6719 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1864/0.3208, allocations: 0.8285 MB / 455 MB, free: 47.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003289/0.3212, allocations: 1.751 MB / 456.8 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.3212, allocations: 5.344 kB / 456.8 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.3212, allocations: 8.312 kB / 456.8 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.3219, allocations: 159.2 kB / 457 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.3219, allocations: 10.88 kB / 457 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005646/0.3225, allocations: 88.94 kB / 457.1 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.3226, allocations: 22.23 kB / 457.1 MB, free: 46.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.3226, allocations: 5.125 kB / 457.1 MB, free: 46.15 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.3238, allocations: 0.7138 MB / 457.8 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3238, allocations: 15.12 kB / 457.8 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.242e-06/0.3238, allocations: 5.969 kB / 457.8 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.3244, allocations: 160 kB / 458 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3244, allocations: 6 kB / 458 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3249, allocations: 78.42 kB / 458.1 MB, free: 46.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3249, allocations: 29.83 kB / 458.1 MB, free: 46.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.3253, allocations: 293 kB / 458.4 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3254, allocations: 75.91 kB / 458.4 MB, free: 45.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001367/0.3255, allocations: 96.16 kB / 458.5 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3255, allocations: 5.438 kB / 458.5 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3256, allocations: 2.656 kB / 458.6 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3256, allocations: 0 / 458.6 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.3267, allocations: 0.8529 MB / 459.4 MB, free: 45.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3267, allocations: 3.953 kB / 459.4 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.3273, allocations: 124.2 kB / 459.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3273, allocations: 3.625 kB / 459.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.3274, allocations: 16.95 kB / 459.5 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3274, allocations: 2.594 kB / 459.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3274, allocations: 0 / 459.6 MB, free: 45.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.3292, allocations: 1.227 MB / 460.8 MB, free: 45.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.3294, allocations: 191.9 kB / 461 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.109e-05/0.3295, allocations: 16.5 kB / 461 MB, free: 45.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004891/0.33, allocations: 61.89 kB / 461 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.3301, allocations: 43.11 kB / 461.1 MB, free: 45.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.3301, allocations: 9.812 kB / 461.1 MB, free: 45.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005077/0.3306, allocations: 458.2 kB / 461.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3306, allocations: 3.094 kB / 461.5 MB, free: 45.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007221/0.3314, allocations: 195 kB / 461.7 MB, free: 45.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001122/0.3315, allocations: 117.2 kB / 461.9 MB, free: 45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.3333, allocations: 1.011 MB / 462.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3333, allocations: 0 / 462.9 MB, free: 44.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005754/0.3339, allocations: 301.1 kB / 463.2 MB, free: 44.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008239/0.3348, allocations: 171.8 kB / 463.3 MB, free: 44.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.3369, allocations: 1.721 MB / 465 MB, free: 44.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.3373, allocations: 0.9683 MB / 466 MB, free: 43.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.3377, allocations: 146 kB / 466.2 MB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.3378, allocations: 43.25 kB / 466.2 MB, free: 43.38 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3378, allocations: 0 / 466.2 MB, free: 43.38 MB / 382.1 MB Notification: Performance of Templates: time 0.009752/0.3476, allocations: 6.561 MB / 472.8 MB, free: 42.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: