Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed",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.00229/0.002294, allocations: 183.9 kB / 16.4 MB, free: 5.75 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.056/2.056, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001587/0.001587, allocations: 96.61 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5708/0.5708, allocations: 43.55 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004942, allocations: 8 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 58.86 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.005935/0.163, allocations: 2.104 MB / 492.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1657, allocations: 0.683 MB / 493.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.1661, allocations: 8 kB / 493.1 MB, free: 8.316 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1663, allocations: 27.77 kB / 493.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005748/0.1669, allocations: 99.66 kB / 493.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.1674, allocations: 67.91 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.1683, allocations: 227.5 kB / 493.5 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1687, allocations: 65.56 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.169, allocations: 107.5 kB / 493.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.1693, allocations: 119.5 kB / 493.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.1693, allocations: 15.98 kB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.1694, allocations: 12 kB / 493.8 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.1695, allocations: 39.84 kB / 493.9 MB, free: 7.547 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1696, allocations: 77.52 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.17, allocations: 207.7 kB / 494.1 MB, free: 7.262 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.17, allocations: 4 kB / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.17, allocations: 0 / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.17, allocations: 0 / 494.2 MB, free: 7.258 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001242/0.1713, allocations: 0.5456 MB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1713, allocations: 8.031 kB / 494.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.023e-05/0.1714, allocations: 66.47 kB / 494.8 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.442e-05/0.1715, allocations: 39.56 kB / 494.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.1719, allocations: 250.5 kB / 495.1 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.172, allocations: 20.56 kB / 495.1 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.1721, allocations: 24 kB / 495.1 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.1729, allocations: 293.8 kB / 495.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.173, allocations: 7.906 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.173, allocations: 12 kB / 495.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.173, allocations: 4 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007612/0.1738, allocations: 199.8 kB / 495.6 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.1764, allocations: 1.321 MB / 496.9 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.1772, allocations: 250.5 kB / 497.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1773, allocations: 8 kB / 497.2 MB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1774, allocations: 34.56 kB / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.276e-06/0.1774, allocations: 0 / 497.2 MB, free: 3.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.004373/0.1818, allocations: 1.631 MB / 498.8 MB, free: 2.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.1819, allocations: 132.5 kB / 499 MB, free: 1.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.1822, allocations: 221 kB / 499.2 MB, free: 1.699 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.1823, allocations: 29.7 kB / 499.2 MB, free: 1.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.1824, allocations: 234.7 kB / 499.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.1826, allocations: 118.2 kB / 499.6 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1826, allocations: 4.188 kB / 499.6 MB, free: 1.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1828, allocations: 334.8 kB / 499.9 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004783/0.1833, allocations: 112.8 kB / 0.4883 GB, free: 0.8672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.1839, allocations: 245.5 kB / 0.4885 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/0.1845, allocations: 144.9 kB / 0.4887 GB, free: 440 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.1845, allocations: 4 kB / 0.4887 GB, free: 436 kB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001381/0.1859, allocations: 392.9 kB / 0.489 GB, free: 36 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.1859, allocations: 8.406 kB / 0.489 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.186, allocations: 11.94 kB / 0.4891 GB, free: 16 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-05/0.186, allocations: 12.27 kB / 0.4891 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3043/0.4903, allocations: 107.7 kB / 0.4892 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.4904, allocations: 9.781 kB / 0.4892 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004073/0.4908, allocations: 31.45 kB / 0.4892 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.4909, allocations: 16.05 kB / 0.4892 GB, free: 42.73 MB / 378.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0002229/0.4911, allocations: 152.9 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.4913, allocations: 26.75 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.4914, allocations: 34.77 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.4914, allocations: 7.609 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4914, allocations: 1.156 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4914, allocations: 5.438 kB / 0.4894 GB, free: 42.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.4939, allocations: 1.013 MB / 0.4904 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.494, allocations: 3 kB / 0.4904 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007348/0.4947, allocations: 90.3 kB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.4947, allocations: 3.469 kB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.4948, allocations: 8.141 kB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.4948, allocations: 2.609 kB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.4948, allocations: 5.031 kB / 0.4905 GB, free: 42.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.4966, allocations: 0.8224 MB / 0.4913 GB, free: 41.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.4967, allocations: 102.3 kB / 0.4914 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.779e-05/0.4968, allocations: 12.44 kB / 0.4915 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/0.4973, allocations: 24.25 kB / 0.4915 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4974, allocations: 24.14 kB / 0.4915 GB, free: 41.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.4975, allocations: 10.34 kB / 0.4915 GB, free: 41.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.4977, allocations: 161.8 kB / 0.4917 GB, free: 41.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4977, allocations: 1.281 kB / 0.4917 GB, free: 41.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001181/0.4989, allocations: 61.69 kB / 0.4917 GB, free: 41.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * 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.002534/0.5015, allocations: 1.708 MB / 0.4934 GB, free: 40.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.5027, allocations: 296.2 kB / 0.4937 GB, free: 40.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.5028, allocations: 1.125 kB / 0.4937 GB, free: 40.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.5033, allocations: 151 kB / 0.4938 GB, free: 40.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.504, allocations: 35.39 kB / 0.4939 GB, free: 40.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00574/0.5098, allocations: 5.064 MB / 0.4988 GB, free: 36.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.5102, allocations: 0.7758 MB / 0.4996 GB, free: 35.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.5104, allocations: 96.41 kB / 0.4996 GB, free: 35.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.184e-06/0.5104, allocations: 0 / 0.4996 GB, free: 35.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.577/3.087, allocations: 4.444 MB / 0.504 GB, free: 35.07 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat