Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed",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.001269/0.001269, allocations: 97.53 kB / 15.69 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.001449/0.001449, allocations: 172.6 kB / 16.56 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.524/1.524, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.4488/0.4488, allocations: 43.54 MB / 314.5 MB, free: 8.715 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.000726/0.0007261, allocations: 18.97 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1637, allocations: 58.84 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.00287/0.1667, allocations: 2.117 MB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.1678, allocations: 0.6753 MB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.168, allocations: 7.938 kB / 445.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.81e-05/0.1681, allocations: 31.77 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.1683, allocations: 103.6 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.1685, allocations: 59.92 kB / 445.8 MB, free: 9.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.1689, allocations: 231.5 kB / 446 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.1691, allocations: 65.84 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.1693, allocations: 111.5 kB / 446.2 MB, free: 9.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.1695, allocations: 119.4 kB / 446.3 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.1695, allocations: 12 kB / 446.3 MB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.1695, allocations: 12 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.1696, allocations: 43.83 kB / 446.4 MB, free: 9.398 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.464e-05/0.1697, allocations: 77.52 kB / 446.5 MB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.1699, allocations: 207.4 kB / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1699, allocations: 0 / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1699, allocations: 0 / 446.7 MB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.1699, allocations: 0 / 446.7 MB, free: 9.113 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009417/0.1709, allocations: 0.5495 MB / 447.2 MB, free: 8.516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.171, allocations: 8.031 kB / 447.2 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.705e-05/0.171, allocations: 66.53 kB / 447.3 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.1711, allocations: 31.62 kB / 447.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1714, allocations: 258.4 kB / 447.6 MB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1714, allocations: 16.56 kB / 447.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.1715, allocations: 28 kB / 447.6 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.1721, allocations: 285.9 kB / 447.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.1721, allocations: 3.906 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.1721, allocations: 12 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1722, allocations: 8 kB / 447.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005951/0.1728, allocations: 199.8 kB / 448.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.175, allocations: 1.318 MB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.1757, allocations: 258.3 kB / 449.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.1757, allocations: 8 kB / 449.7 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.1758, allocations: 42.69 kB / 449.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.685e-06/0.1758, allocations: 0 / 449.7 MB, free: 5.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.003782/0.1796, allocations: 1.635 MB / 451.4 MB, free: 3.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.1797, allocations: 132.5 kB / 451.5 MB, free: 3.766 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.18, allocations: 217 kB / 451.7 MB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.18, allocations: 29.7 kB / 451.8 MB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1802, allocations: 180.2 kB / 451.9 MB, free: 3.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.1803, allocations: 110.3 kB / 452 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.1803, allocations: 8 kB / 452 MB, free: 3.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.1805, allocations: 342.8 kB / 452.4 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.1808, allocations: 108.8 kB / 452.5 MB, free: 2.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1813, allocations: 253.4 kB / 452.7 MB, free: 2.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/0.1816, allocations: 143.9 kB / 452.9 MB, free: 2.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1816, allocations: 4 kB / 452.9 MB, free: 2.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008805/0.1825, allocations: 414.5 kB / 453.3 MB, free: 1.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.1825, allocations: 12.03 kB / 453.3 MB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1826, allocations: 4 kB / 453.3 MB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/0.1826, allocations: 11.95 kB / 453.3 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.183, allocations: 107.8 kB / 453.4 MB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.1831, allocations: 12.03 kB / 453.4 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.1833, allocations: 39.92 kB / 453.5 MB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.259e-05/0.1834, allocations: 16 kB / 453.5 MB, free: 1.699 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: 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.0002303/0.1836, allocations: 157.6 kB / 453.6 MB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1838, allocations: 31.61 kB / 453.7 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.1838, allocations: 33.72 kB / 453.7 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1838, allocations: 7.953 kB / 453.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1839, allocations: 0 / 453.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.1839, allocations: 7.984 kB / 453.7 MB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.1856, allocations: 1.009 MB / 454.7 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1856, allocations: 0 / 454.7 MB, free: 388 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.186, allocations: 83.88 kB / 454.8 MB, free: 304 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.296e-06/0.186, allocations: 4 kB / 454.8 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.1861, allocations: 8.438 kB / 454.8 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1861, allocations: 8.062 kB / 454.8 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1861, allocations: 0 / 454.8 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3035/0.4896, allocations: 0.8156 MB / 455.6 MB, free: 45.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.4898, allocations: 102.4 kB / 455.7 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.4899, allocations: 11.38 kB / 455.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.4902, allocations: 23.53 kB / 455.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.4903, allocations: 29.41 kB / 455.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.095e-05/0.4903, allocations: 8.844 kB / 455.8 MB, free: 45.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.4904, allocations: 159.3 kB / 456 MB, free: 45.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4905, allocations: 0 / 456 MB, free: 45.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005377/0.491, allocations: 67.69 kB / 456 MB, free: 45.17 MB / 382.1 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.00135/0.4924, allocations: 1.702 MB / 457.7 MB, free: 43.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006345/0.493, allocations: 303.2 kB / 458 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.493, allocations: 0 / 458 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002682/0.4933, allocations: 144 kB / 458.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.4938, allocations: 32.47 kB / 458.2 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.4977, allocations: 5.035 MB / 463.2 MB, free: 39.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.498, allocations: 0.7794 MB / 464 MB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001415/0.4981, allocations: 32.2 kB / 464.1 MB, free: 39.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4983, allocations: 90.66 kB / 464.1 MB, free: 39.25 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4983, allocations: 0 / 464.1 MB, free: 39.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.5165, allocations: 4.734 MB / 468.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.5167, allocations: 170.8 kB / 469 MB, free: 38.6 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.496, allocations: 7.938 kB / 469 MB, free: 38.59 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat