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/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: translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speed1.phi|speed1.w|speed2.phi|speed3.s|speed3.v|speed4.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008545/0.0008545, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2617/0.2617, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004172, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.124, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.397/0.5211, allocations: 87.5 MB / 0.5642 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5214, allocations: 71.03 kB / 0.5643 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01408/0.5355, allocations: 4.792 MB / 0.5689 GB, free: 8.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5355, allocations: 0 / 0.5689 GB, free: 8.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.5356, allocations: 4 kB / 0.5689 GB, free: 8.234 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.0008499/0.5364, allocations: 0.5391 MB / 0.5695 GB, free: 7.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5365, allocations: 8.562 kB / 0.5695 GB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.5366, allocations: 35.62 kB / 0.5695 GB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.5369, allocations: 260.2 kB / 0.5698 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.537, allocations: 23.44 kB / 0.5698 GB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.537, allocations: 35.14 kB / 0.5698 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.5375, allocations: 274.6 kB / 0.5701 GB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.5376, allocations: 11.94 kB / 0.5701 GB, free: 7.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.5376, allocations: 19.08 kB / 0.5701 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.5376, allocations: 4 kB / 0.5701 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.5381, allocations: 198.8 kB / 0.5703 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/0.5398, allocations: 1.305 MB / 0.5716 GB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.5402, allocations: 262 kB / 0.5718 GB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.5403, allocations: 4 kB / 0.5718 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5403, allocations: 37.84 kB / 0.5719 GB, free: 5.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.873e-06/0.5403, allocations: 0 / 0.5719 GB, free: 5.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002732/0.543, allocations: 1.625 MB / 0.5735 GB, free: 3.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.5431, allocations: 136.4 kB / 0.5736 GB, free: 3.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.5434, allocations: 197.3 kB / 0.5738 GB, free: 3.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.5434, allocations: 33.08 kB / 0.5738 GB, free: 3.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5435, allocations: 182.5 kB / 0.574 GB, free: 3.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.402e-05/0.5436, allocations: 115.7 kB / 0.5741 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.5436, allocations: 3.938 kB / 0.5741 GB, free: 3.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5438, allocations: 338.1 kB / 0.5744 GB, free: 2.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.5441, allocations: 112.1 kB / 0.5745 GB, free: 2.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.5444, allocations: 248.9 kB / 0.5748 GB, free: 2.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.5447, allocations: 147.7 kB / 0.5749 GB, free: 2.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5447, allocations: 0 / 0.5749 GB, free: 2.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007132/0.5454, allocations: 417.6 kB / 0.5753 GB, free: 1.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.5455, allocations: 8 kB / 0.5753 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.5455, allocations: 7.938 kB / 0.5753 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.5455, allocations: 8 kB / 0.5753 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003962/0.5459, allocations: 107.4 kB / 0.5754 GB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.985e-05/0.5459, allocations: 12 kB / 0.5754 GB, free: 1.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.5462, allocations: 38.56 kB / 0.5755 GB, free: 1.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.5462, allocations: 12 kB / 0.5755 GB, free: 1.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.5464, allocations: 158.5 kB / 0.5756 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.5466, allocations: 23.72 kB / 0.5757 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.831e-05/0.5466, allocations: 43.39 kB / 0.5757 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.5467, allocations: 4 kB / 0.5757 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.5467, allocations: 0 / 0.5757 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.5467, allocations: 0 / 0.5757 GB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.5483, allocations: 1.019 MB / 0.5767 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5483, allocations: 0 / 0.5767 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.5487, allocations: 87.14 kB / 0.5768 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5487, allocations: 4 kB / 0.5768 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.5487, allocations: 17.94 kB / 0.5768 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5487, allocations: 4 kB / 0.5768 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.5488, allocations: 0 / 0.5768 GB, free: 492 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.5499, allocations: 0.8262 MB / 0.5776 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/0.55, allocations: 100.7 kB / 0.5777 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/0.55, allocations: 7.625 kB / 0.5777 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002741/0.5503, allocations: 27.86 kB / 0.5777 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5505, allocations: 31.2 kB / 0.5778 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.5505, allocations: 11.31 kB / 0.5778 GB, free: 15.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.5506, allocations: 156.6 kB / 0.5779 GB, free: 15.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5506, allocations: 0 / 0.5779 GB, free: 15.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006133/0.5513, allocations: 67.12 kB / 0.578 GB, free: 15.34 MB / 394.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.0001727/0.5514, allocations: 106.9 kB / 0.5781 GB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006674/0.5521, allocations: 302 kB / 0.5784 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5521, allocations: 0 / 0.5784 GB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.5524, allocations: 143.2 kB / 0.5785 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.5529, allocations: 35.19 kB / 0.5786 GB, free: 14.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.5545, allocations: 1.08 MB / 0.5796 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.5549, allocations: 0.7761 MB / 0.5804 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.555, allocations: 34.95 kB / 0.5804 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.5551, allocations: 23.44 kB / 0.5804 GB, free: 12.91 MB / 394.7 MB Notification: Performance of SimCode: time 4.61e-07/0.5551, allocations: 0 / 0.5804 GB, free: 12.91 MB / 394.7 MB Notification: Performance of Templates: time 0.006436/0.5616, allocations: 2.111 MB / 0.5825 GB, free: 10.82 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches