Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput",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.0008139/0.0008138, allocations: 96.86 kB / 15.7 MB, free: 468 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.0007615/0.0007615, allocations: 177.8 kB / 16.58 MB, free: 6.398 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.598/1.598, allocations: 205.4 MB / 222.7 MB, free: 5.883 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.4166/0.4166, allocations: 43.55 MB / 314.6 MB, free: 8.605 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.0006221/0.0006227, allocations: 14.97 kB / 384 MB, free: 7.965 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1404, allocations: 58.86 MB / 442.9 MB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004071/0.1445, allocations: 2.871 MB / 445.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003743/0.1483, allocations: 1.505 MB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007735/0.1491, allocations: 23.88 kB / 447.3 MB, free: 8.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.1499, allocations: 103.2 kB / 447.4 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007858/0.1507, allocations: 162.9 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.1522, allocations: 423.2 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.1538, allocations: 0.8261 MB / 448.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.1543, allocations: 177.2 kB / 448.9 MB, free: 6.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007555/0.1551, allocations: 306.6 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006475/0.1557, allocations: 338.3 kB / 449.6 MB, free: 6.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.156, allocations: 24 kB / 449.6 MB, free: 6.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.1563, allocations: 119.8 kB / 449.7 MB, free: 6.109 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000306/0.1567, allocations: 147.4 kB / 449.9 MB, free: 5.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002747/0.157, allocations: 129.3 kB / 450 MB, free: 5.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1581, allocations: 0.6314 MB / 450.6 MB, free: 5.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1581, allocations: 4 kB / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1581, allocations: 0 / 450.6 MB, free: 5.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.206e-05/0.1582, allocations: 0 / 450.6 MB, free: 5.195 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.003122/0.1613, allocations: 1.075 MB / 451.7 MB, free: 4.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.1614, allocations: 8.031 kB / 451.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.1616, allocations: 86.52 kB / 451.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.1618, allocations: 90.92 kB / 451.9 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.1628, allocations: 0.5343 MB / 452.4 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.1629, allocations: 37 kB / 452.4 MB, free: 3.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.163, allocations: 55.98 kB / 452.5 MB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1642, allocations: 0.6329 MB / 453.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1642, allocations: 3.906 kB / 453.1 MB, free: 2.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.1642, allocations: 20 kB / 453.2 MB, free: 2.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1643, allocations: 15.95 kB / 453.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.1653, allocations: 497.8 kB / 453.7 MB, free: 1.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2349/0.4002, allocations: 2.669 MB / 456.3 MB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/0.4012, allocations: 0.5371 MB / 456.9 MB, free: 44.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004756/0.4017, allocations: 287.5 kB / 457.1 MB, free: 44.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.4017, allocations: 7.594 kB / 457.1 MB, free: 44.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4017, allocations: 41.14 kB / 457.2 MB, free: 44.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.4017, allocations: 0 / 457.2 MB, free: 44.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002184/0.4039, allocations: 1.215 MB / 458.4 MB, free: 44.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.404, allocations: 141.7 kB / 458.5 MB, free: 44.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.4047, allocations: 0.6518 MB / 459.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.4048, allocations: 34.67 kB / 459.2 MB, free: 44.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.405, allocations: 364.4 kB / 459.6 MB, free: 43.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.4052, allocations: 182 kB / 459.8 MB, free: 43.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.4052, allocations: 14.38 kB / 459.8 MB, free: 43.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.917e-05/0.4053, allocations: 327.8 kB / 460.1 MB, free: 43.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005346/0.4058, allocations: 302.8 kB / 460.4 MB, free: 43.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.4064, allocations: 459.7 kB / 460.8 MB, free: 43.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006478/0.4071, allocations: 340.2 kB / 461.2 MB, free: 43.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4071, allocations: 0 / 461.2 MB, free: 43.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001434/0.4085, allocations: 0.8661 MB / 462 MB, free: 43.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.908e-05/0.4086, allocations: 225.1 kB / 462.3 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4087, allocations: 6.016 kB / 462.3 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.4087, allocations: 8.531 kB / 462.3 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.4095, allocations: 211.3 kB / 462.5 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.4095, allocations: 11.59 kB / 462.5 MB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.4099, allocations: 86.08 kB / 462.6 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.41, allocations: 29.14 kB / 462.6 MB, free: 43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.994e-06/0.41, allocations: 10.31 kB / 462.6 MB, free: 43 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001262/0.4113, allocations: 0.7315 MB / 463.3 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4113, allocations: 7.125 kB / 463.4 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.194e-06/0.4113, allocations: 9.812 kB / 463.4 MB, free: 42.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.412, allocations: 199 kB / 463.6 MB, free: 42.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4121, allocations: 12.78 kB / 463.6 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.4125, allocations: 92.48 kB / 463.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4125, allocations: 27.05 kB / 463.7 MB, free: 42.91 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 (78): * Single equations (assignments): 77 * Array equations: 1 * 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.00031/0.4129, allocations: 293.9 kB / 464 MB, free: 42.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.413, allocations: 79.81 kB / 464.1 MB, free: 42.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.4132, allocations: 89.59 kB / 464.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4132, allocations: 5.906 kB / 464.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4132, allocations: 0 / 464.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.4132, allocations: 6.125 kB / 464.1 MB, free: 42.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.4149, allocations: 1.292 MB / 465.4 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4149, allocations: 0 / 465.4 MB, free: 42.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.4155, allocations: 122.3 kB / 465.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4155, allocations: 3.156 kB / 465.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.4156, allocations: 20.16 kB / 465.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4156, allocations: 5.844 kB / 465.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4156, allocations: 3.031 kB / 465.6 MB, free: 42.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.4174, allocations: 1.232 MB / 466.8 MB, free: 41.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.4176, allocations: 194.7 kB / 467 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.4177, allocations: 16.47 kB / 467 MB, free: 41.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.4181, allocations: 64.67 kB / 467.1 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.4182, allocations: 39.73 kB / 467.1 MB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.4183, allocations: 17.72 kB / 467.1 MB, free: 41.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005028/0.4188, allocations: 457.6 kB / 467.6 MB, free: 41.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4188, allocations: 0 / 467.6 MB, free: 41.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000788/0.4196, allocations: 226.6 kB / 467.8 MB, free: 41.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * 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.002038/0.4216, allocations: 1.811 MB / 469.6 MB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001794/0.4234, allocations: 1.051 MB / 470.7 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4234, allocations: 0 / 470.7 MB, free: 40.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.424, allocations: 321 kB / 471 MB, free: 40.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009322/0.4249, allocations: 175.6 kB / 471.2 MB, free: 40.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.4316, allocations: 4.998 MB / 476.2 MB, free: 37.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.432, allocations: 0.9478 MB / 477.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004795/0.4325, allocations: 146.3 kB / 477.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003286/0.4328, allocations: 266.1 kB / 477.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4328, allocations: 0 / 477.5 MB, free: 36.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03404/0.4669, allocations: 14.4 MB / 491.9 MB, free: 35.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.467, allocations: 182.6 kB / 492.1 MB, free: 35.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.149/2.616, allocations: 4 kB / 492.1 MB, free: 35.19 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat