Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.00167, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009041/0.0009041, allocations: 92.05 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.195/0.195, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.684e-05, allocations: 8.219 kB / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1439, allocations: 61.91 MB / 0.5018 GB, free: 11.39 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5141/0.6581, allocations: 96.44 MB / 0.596 GB, free: 8.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.6585, allocations: 67.97 kB / 0.596 GB, free: 8.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06382/0.7223, allocations: 14.68 MB / 0.6104 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.7224, allocations: 0 / 0.6104 GB, free: 10.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.476e-05/0.7224, allocations: 20 kB / 0.6104 GB, free: 10.02 MB / 426.7 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.002638/0.7251, allocations: 0.96 MB / 0.6113 GB, free: 9.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/0.7252, allocations: 8.031 kB / 0.6113 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001618/0.7253, allocations: 86.52 kB / 0.6114 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.7256, allocations: 86.97 kB / 0.6115 GB, free: 8.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.7272, allocations: 0.5548 MB / 0.612 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.7273, allocations: 40.98 kB / 0.6121 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.7275, allocations: 63.91 kB / 0.6121 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.7289, allocations: 0.5511 MB / 0.6127 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7289, allocations: 0 / 0.6127 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.729, allocations: 20 kB / 0.6127 GB, free: 7.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.7291, allocations: 12 kB / 0.6127 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.7301, allocations: 369.9 kB / 0.6131 GB, free: 7.133 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005495/0.7357, allocations: 2.71 MB / 0.6157 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.7369, allocations: 468.9 kB / 0.6162 GB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.7375, allocations: 202.6 kB / 0.6163 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.684e-05/0.7375, allocations: 8 kB / 0.6164 GB, free: 3.621 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.7376, allocations: 42.59 kB / 0.6164 GB, free: 3.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 6.542e-06/0.7376, allocations: 3.984 kB / 0.6164 GB, free: 3.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.002175/0.7398, allocations: 0.7893 MB / 0.6172 GB, free: 2.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.7399, allocations: 144.6 kB / 0.6173 GB, free: 2.594 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.741, allocations: 0.5468 MB / 0.6178 GB, free: 2.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.7411, allocations: 33.7 kB / 0.6179 GB, free: 2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.7415, allocations: 360 kB / 0.6182 GB, free: 1.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000209/0.7417, allocations: 173.5 kB / 0.6184 GB, free: 1.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-05/0.7417, allocations: 11.94 kB / 0.6184 GB, free: 1.461 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.7419, allocations: 334 kB / 0.6187 GB, free: 1.129 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/0.7425, allocations: 201.5 kB / 0.6189 GB, free: 0.9336 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.7432, allocations: 358.6 kB / 0.6192 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.7439, allocations: 256.4 kB / 0.6195 GB, free: 272 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7439, allocations: 0 / 0.6195 GB, free: 272 kB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001785/0.7457, allocations: 0.6743 MB / 0.6201 GB, free: 15.59 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008986/0.7467, allocations: 1.746 MB / 0.6219 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.7467, allocations: 7.984 kB / 0.6219 GB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.7467, allocations: 12 kB / 0.6219 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.7479, allocations: 159.7 kB / 0.622 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.7479, allocations: 11.98 kB / 0.622 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.7488, allocations: 91.62 kB / 0.6221 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.7489, allocations: 24 kB / 0.6221 GB, free: 13.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7489, allocations: 4 kB / 0.6221 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001496/0.7504, allocations: 0.5883 MB / 0.6227 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.7504, allocations: 8 kB / 0.6227 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7505, allocations: 11.94 kB / 0.6227 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000969/0.7514, allocations: 160.3 kB / 0.6229 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.7515, allocations: 8 kB / 0.6229 GB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008137/0.7523, allocations: 91.58 kB / 0.623 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.7524, allocations: 20 kB / 0.623 GB, free: 12.52 MB / 442.7 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 () * 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.0002131/0.7526, allocations: 144.7 kB / 0.6231 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.7529, allocations: 75.06 kB / 0.6232 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.7532, allocations: 86 kB / 0.6233 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.7532, allocations: 7.984 kB / 0.6233 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.7532, allocations: 0 / 0.6233 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.7533, allocations: 4 kB / 0.6233 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.7551, allocations: 0.8219 MB / 0.6241 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.7551, allocations: 0 / 0.6241 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.7561, allocations: 111.9 kB / 0.6242 GB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.7562, allocations: 7.984 kB / 0.6242 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.367e-05/0.7562, allocations: 16 kB / 0.6242 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7563, allocations: 0 / 0.6242 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.7563, allocations: 7.953 kB / 0.6243 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.7583, allocations: 0.9867 MB / 0.6252 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003888/0.7587, allocations: 204.1 kB / 0.6254 GB, free: 9.938 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.7588, allocations: 16 kB / 0.6254 GB, free: 9.922 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008812/0.7597, allocations: 59.94 kB / 0.6255 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.7599, allocations: 43.94 kB / 0.6255 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.7599, allocations: 8 kB / 0.6255 GB, free: 9.812 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007982/0.7607, allocations: 435.1 kB / 0.6259 GB, free: 9.395 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7607, allocations: 0 / 0.6259 GB, free: 9.395 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001264/0.762, allocations: 200 kB / 0.6261 GB, free: 9.199 MB / 442.7 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 () * 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.002329/0.7644, allocations: 1.695 MB / 0.6278 GB, free: 7.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.7663, allocations: 0.8086 MB / 0.6286 GB, free: 6.656 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7663, allocations: 1.875 kB / 0.6286 GB, free: 6.656 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.7668, allocations: 223.8 kB / 0.6288 GB, free: 6.438 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.7682, allocations: 180.2 kB / 0.629 GB, free: 6.266 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.7721, allocations: 1.364 MB / 0.6303 GB, free: 4.848 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007369/0.7729, allocations: 0.9705 MB / 0.6313 GB, free: 3.844 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001188/0.7741, allocations: 207.1 kB / 0.6314 GB, free: 3.641 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.7747, allocations: 251.3 kB / 0.6317 GB, free: 3.395 MB / 442.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7747, allocations: 3.938 kB / 0.6317 GB, free: 3.391 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.8212, allocations: 14.59 MB / 0.6459 GB, free: 4.93 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.8215, allocations: 138.3 kB / 0.6461 GB, free: 4.707 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/3.323, allocations: 0 / 0.6461 GB, free: 4.707 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat