Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002217/0.002217, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.488/2.488, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3161/0.3161, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004994, allocations: 8 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1417, allocations: 58.86 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005351/0.1471, allocations: 2.817 MB / 493.1 MB, free: 6.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1517, allocations: 1.49 MB / 494.6 MB, free: 4.91 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000697/0.1525, allocations: 19.88 kB / 494.6 MB, free: 4.891 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.1531, allocations: 95.38 kB / 494.7 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.1541, allocations: 183.4 kB / 494.9 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.1561, allocations: 431.1 kB / 495.3 MB, free: 4.195 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.1581, allocations: 0.5773 MB / 495.9 MB, free: 3.613 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.1587, allocations: 173.2 kB / 496.1 MB, free: 3.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008985/0.1596, allocations: 310.7 kB / 496.4 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006751/0.1603, allocations: 322.4 kB / 496.7 MB, free: 2.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.1604, allocations: 20 kB / 496.7 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1605, allocations: 24 kB / 496.7 MB, free: 2.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.1608, allocations: 147.4 kB / 496.9 MB, free: 2.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.161, allocations: 133.3 kB / 497 MB, free: 2.484 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.162, allocations: 0.5378 MB / 497.6 MB, free: 1.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.162, allocations: 4 kB / 497.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.162, allocations: 3.938 kB / 497.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.162, allocations: 0 / 497.6 MB, free: 1.938 MB / 330.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.003759/0.1658, allocations: 1.055 MB / 498.6 MB, free: 0.832 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.944e-05/0.1659, allocations: 8.031 kB / 498.6 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002778/0.1662, allocations: 90.45 kB / 498.7 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002492/0.1664, allocations: 90.92 kB / 498.8 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/0.168, allocations: 0.5343 MB / 499.3 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.54e-05/0.1681, allocations: 41 kB / 499.4 MB, free: 24 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.1683, allocations: 59.97 kB / 499.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.1703, allocations: 0.6174 MB / 0.4883 GB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.1704, allocations: 3.938 kB / 0.4883 GB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.1705, allocations: 27.94 kB / 0.4884 GB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.1705, allocations: 8 kB / 0.4884 GB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.1726, allocations: 0.4939 MB / 0.4889 GB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006582/0.1792, allocations: 2.69 MB / 0.4915 GB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.1815, allocations: 0.5819 MB / 0.4921 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.1816, allocations: 4.094 kB / 0.4921 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.369e-05/0.1817, allocations: 42.94 kB / 0.4921 GB, free: 11.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 6.041e-06/0.1817, allocations: 4 kB / 0.4921 GB, free: 11.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.004748/0.1864, allocations: 1.222 MB / 0.4933 GB, free: 10.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.1866, allocations: 136.5 kB / 0.4934 GB, free: 9.906 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.1882, allocations: 0.6528 MB / 0.4941 GB, free: 9.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.1884, allocations: 37.7 kB / 0.4941 GB, free: 9.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.1888, allocations: 374.5 kB / 0.4945 GB, free: 8.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.1891, allocations: 173.5 kB / 0.4946 GB, free: 8.664 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.1891, allocations: 16 kB / 0.4946 GB, free: 8.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1893, allocations: 334.8 kB / 0.495 GB, free: 8.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.1905, allocations: 285.1 kB / 0.4952 GB, free: 8.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.1919, allocations: 441.2 kB / 0.4956 GB, free: 7.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.1933, allocations: 341 kB / 0.496 GB, free: 7.207 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1933, allocations: 0 / 0.496 GB, free: 7.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002966/0.1963, allocations: 0.7868 MB / 0.4967 GB, free: 6.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008929/0.1972, allocations: 1.753 MB / 0.4985 GB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.472e-05/0.1973, allocations: 4 kB / 0.4985 GB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.257e-05/0.1973, allocations: 8 kB / 0.4985 GB, free: 4.516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.1988, allocations: 163.8 kB / 0.4986 GB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.7e-05/0.1988, allocations: 11.94 kB / 0.4986 GB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.1999, allocations: 91.62 kB / 0.4987 GB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.2, allocations: 24 kB / 0.4987 GB, free: 4.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2001, allocations: 4 kB / 0.4987 GB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004085/0.2042, allocations: 0.7105 MB / 0.4994 GB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.2042, allocations: 4 kB / 0.4994 GB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2043, allocations: 8 kB / 0.4995 GB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/0.2056, allocations: 148 kB / 0.4996 GB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.2056, allocations: 19.89 kB / 0.4996 GB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.2063, allocations: 71.66 kB / 0.4997 GB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.2064, allocations: 27.98 kB / 0.4997 GB, free: 3.242 MB / 346.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 () * 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.0005894/0.207, allocations: 284.9 kB / 0.5 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.2073, allocations: 79 kB / 0.5001 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.2076, allocations: 94.28 kB / 0.5001 GB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.2076, allocations: 8 kB / 0.5002 GB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.2076, allocations: 3.953 kB / 0.5002 GB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.2077, allocations: 3.984 kB / 0.5002 GB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002199/0.2099, allocations: 0.8532 MB / 0.501 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2099, allocations: 3.938 kB / 0.501 GB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.2114, allocations: 119.9 kB / 0.5011 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.2114, allocations: 4 kB / 0.5011 GB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.905e-05/0.2115, allocations: 19.94 kB / 0.5011 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-05/0.2115, allocations: 4 kB / 0.5011 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.2116, allocations: 0 / 0.5011 GB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.2155, allocations: 1.222 MB / 0.5023 GB, free: 464 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.2161, allocations: 196.1 kB / 0.5025 GB, free: 248 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.2163, allocations: 19.98 kB / 0.5025 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009889/0.2173, allocations: 59.94 kB / 0.5026 GB, free: 168 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.2175, allocations: 35.95 kB / 0.5026 GB, free: 132 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.2176, allocations: 11.98 kB / 0.5026 GB, free: 120 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.2188, allocations: 463 kB / 0.5031 GB, free: 15.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2188, allocations: 0 / 0.5031 GB, free: 15.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001293/0.2201, allocations: 196 kB / 0.5033 GB, free: 15.48 MB / 362.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 () * 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.004345/0.2245, allocations: 1.917 MB / 0.5051 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004037/0.2286, allocations: 1.017 MB / 0.5061 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.2286, allocations: 192 / 0.5061 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.2299, allocations: 307.7 kB / 0.5064 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.2315, allocations: 166.9 kB / 0.5066 GB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/0.2468, allocations: 7.763 MB / 0.5142 GB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007801/0.2477, allocations: 0.9651 MB / 0.5151 GB, free: 3.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007582/0.2484, allocations: 267.3 kB / 0.5154 GB, free: 2.812 MB / 362.7 MB Notification: Performance of SimCode: time 3.065e-06/0.2484, allocations: 0 / 0.5154 GB, free: 2.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.303/3.551, allocations: 11.56 MB / 0.5266 GB, free: 42.44 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat