Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.308/0.308, allocations: 43.55 MB / 314.5 MB, free: 9.074 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: Performance of FrontEnd - loaded program: time 0.0005467/0.0005467, allocations: 16 kB / 384 MB, free: 8.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1064, allocations: 58.86 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003276/0.1097, allocations: 2.853 MB / 445.7 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1123, allocations: 1.49 MB / 447.2 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/0.1126, allocations: 19.88 kB / 447.2 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003745/0.113, allocations: 87.39 kB / 447.3 MB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.1134, allocations: 195.3 kB / 447.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.1144, allocations: 415.2 kB / 447.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.1151, allocations: 0.5695 MB / 448.5 MB, free: 7.574 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.1154, allocations: 177.2 kB / 448.6 MB, free: 7.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.1158, allocations: 322.7 kB / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003749/0.1162, allocations: 310.4 kB / 449.2 MB, free: 6.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.328e-05/0.1163, allocations: 20 kB / 449.3 MB, free: 6.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.375e-05/0.1164, allocations: 24 kB / 449.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1165, allocations: 147.4 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1167, allocations: 137.3 kB / 449.6 MB, free: 6.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.1171, allocations: 0.5299 MB / 450.1 MB, free: 5.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1171, allocations: 4 kB / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1171, allocations: 0 / 450.1 MB, free: 5.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1171, allocations: 0 / 450.1 MB, free: 5.906 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.002102/0.1192, allocations: 1.067 MB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.1193, allocations: 8.031 kB / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001025/0.1194, allocations: 86.52 kB / 451.3 MB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.1195, allocations: 90.92 kB / 451.3 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.1204, allocations: 0.5343 MB / 451.9 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.1205, allocations: 37 kB / 451.9 MB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.1206, allocations: 56 kB / 452 MB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1217, allocations: 0.6252 MB / 452.6 MB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1217, allocations: 7.844 kB / 452.6 MB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.816e-05/0.1217, allocations: 16 kB / 452.6 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.1218, allocations: 15.95 kB / 452.6 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.1228, allocations: 0.4939 MB / 453.1 MB, free: 2.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2075/0.3303, allocations: 2.644 MB / 455.8 MB, free: 45.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.3318, allocations: 0.5816 MB / 456.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/0.3319, allocations: 5.469 kB / 456.4 MB, free: 45.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3319, allocations: 44.53 kB / 456.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 3.256e-06/0.3319, allocations: 0 / 456.4 MB, free: 45.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002488/0.3344, allocations: 1.209 MB / 457.6 MB, free: 45.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.3345, allocations: 131.9 kB / 457.7 MB, free: 45.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.3353, allocations: 0.6533 MB / 458.4 MB, free: 44.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.3354, allocations: 43.05 kB / 458.4 MB, free: 44.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3357, allocations: 363.1 kB / 458.8 MB, free: 44.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.3358, allocations: 171.5 kB / 459 MB, free: 44.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3359, allocations: 13.31 kB / 459 MB, free: 44.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.604e-05/0.336, allocations: 332 kB / 459.3 MB, free: 44.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.3366, allocations: 271.9 kB / 459.6 MB, free: 44.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006479/0.3372, allocations: 438.3 kB / 460 MB, free: 44.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007158/0.3379, allocations: 323.3 kB / 460.3 MB, free: 44.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.338, allocations: 2.562 kB / 460.3 MB, free: 44.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002128/0.3401, allocations: 0.8633 MB / 461.2 MB, free: 44.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005059/0.3406, allocations: 1.742 MB / 462.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.3406, allocations: 5.75 kB / 462.9 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003272/0.341, allocations: 61.02 kB / 463 MB, free: 42.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000953/0.3419, allocations: 206.2 kB / 463.2 MB, free: 42.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.3435, allocations: 1.514 MB / 464.7 MB, free: 40.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.3443, allocations: 92.14 kB / 464.8 MB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.3443, allocations: 23.34 kB / 464.8 MB, free: 40.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3444, allocations: 2.844 kB / 464.8 MB, free: 40.96 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001589/0.346, allocations: 0.7424 MB / 465.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.346, allocations: 6.125 kB / 465.6 MB, free: 40.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.3462, allocations: 59.52 kB / 465.6 MB, free: 40.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.3469, allocations: 199 kB / 465.8 MB, free: 40.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3481, allocations: 1.514 MB / 467.3 MB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006925/0.3488, allocations: 93.17 kB / 467.4 MB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.3488, allocations: 29.02 kB / 467.4 MB, free: 39.59 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 (76): * Single equations (assignments): 75 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004314/0.3493, allocations: 281.5 kB / 467.7 MB, free: 39.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.3494, allocations: 75.94 kB / 467.8 MB, free: 39.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.3496, allocations: 90.41 kB / 467.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.3496, allocations: 2.906 kB / 467.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3496, allocations: 8.094 kB / 467.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3497, allocations: 3.469 kB / 467.9 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.351, allocations: 0.86 MB / 468.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.351, allocations: 3.609 kB / 468.8 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.3516, allocations: 118.6 kB / 468.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3517, allocations: 2.844 kB / 468.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.3517, allocations: 15.77 kB / 468.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3517, allocations: 0.9375 kB / 468.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3517, allocations: 7.172 kB / 468.9 MB, free: 39.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3534, allocations: 1.234 MB / 470.1 MB, free: 38.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.3537, allocations: 197 kB / 470.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.322e-05/0.3538, allocations: 15.83 kB / 470.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.3543, allocations: 60.56 kB / 470.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.3544, allocations: 35.27 kB / 470.4 MB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.3544, allocations: 15.06 kB / 470.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005356/0.355, allocations: 463.8 kB / 470.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.355, allocations: 0 / 470.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008402/0.3558, allocations: 195.2 kB / 471.1 MB, free: 38.38 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.002121/0.358, allocations: 1.923 MB / 473 MB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.3605, allocations: 1.242 MB / 474.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.3605, allocations: 4.188 kB / 474.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.3611, allocations: 299.2 kB / 474.6 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009714/0.3621, allocations: 168.4 kB / 474.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008339/0.3705, allocations: 7.752 MB / 482.5 MB, free: 31.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/0.3709, allocations: 0.9721 MB / 483.4 MB, free: 30.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005724/0.3715, allocations: 143.8 kB / 483.6 MB, free: 30.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.3719, allocations: 257 kB / 483.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3719, allocations: 0 / 483.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.4145, allocations: 14.24 MB / 498.1 MB, free: 29.5 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/0.4147, allocations: 195.6 kB / 498.3 MB, free: 29.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/2.706, allocations: 3.938 kB / 498.3 MB, free: 29.25 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat