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: 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_cpp_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_cpp_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001531, allocations: 186.3 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.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001214/0.001213, allocations: 99.53 kB / 270.9 MB, free: 8.371 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.4927/0.4927, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007273/0.0007273, allocations: 12 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1636, allocations: 58.85 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.6052, allocations: 87.5 MB / 0.5642 GB, free: 15.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.6055, allocations: 62.39 kB / 0.5642 GB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02211/0.6277, allocations: 4.803 MB / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6277, allocations: 0 / 0.5689 GB, free: 10.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.6278, allocations: 8 kB / 0.5689 GB, free: 10.21 MB / 394.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.001173/0.6289, allocations: 0.5414 MB / 0.5695 GB, free: 9.621 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.629, allocations: 8.562 kB / 0.5695 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.845e-05/0.6291, allocations: 39.06 kB / 0.5695 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.6295, allocations: 260.5 kB / 0.5697 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.6296, allocations: 19.62 kB / 0.5698 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.6296, allocations: 31.91 kB / 0.5698 GB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007502/0.6304, allocations: 282 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.6305, allocations: 3.938 kB / 0.5701 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.6305, allocations: 12 kB / 0.5701 GB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.6305, allocations: 9.031 kB / 0.5701 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.6313, allocations: 203.8 kB / 0.5703 GB, free: 8.719 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.6338, allocations: 1.3 MB / 0.5716 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006913/0.6345, allocations: 255.7 kB / 0.5718 GB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.6346, allocations: 12.16 kB / 0.5718 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.6346, allocations: 46.66 kB / 0.5719 GB, free: 6.965 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 2.995e-06/0.6346, allocations: 0 / 0.5719 GB, free: 6.965 MB / 394.7 MB Notification: Performance of matching and sorting (n=32): time 0.004326/0.639, allocations: 1.611 MB / 0.5734 GB, free: 5.148 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.6391, allocations: 132.6 kB / 0.5736 GB, free: 4.988 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.6394, allocations: 205.1 kB / 0.5737 GB, free: 4.789 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.6394, allocations: 29.7 kB / 0.5738 GB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.6396, allocations: 238.6 kB / 0.574 GB, free: 4.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.6397, allocations: 114.3 kB / 0.5741 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.6398, allocations: 12 kB / 0.5741 GB, free: 4.395 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6399, allocations: 326.8 kB / 0.5744 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004589/0.6404, allocations: 104.8 kB / 0.5745 GB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006043/0.641, allocations: 257.4 kB / 0.5748 GB, free: 3.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.6416, allocations: 148.2 kB / 0.5749 GB, free: 3.504 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.6416, allocations: 0 / 0.5749 GB, free: 3.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001303/0.6429, allocations: 408.3 kB / 0.5753 GB, free: 3.102 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.6429, allocations: 8.406 kB / 0.5753 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.643, allocations: 8 kB / 0.5753 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.643, allocations: 8 kB / 0.5753 GB, free: 3.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.6437, allocations: 103.8 kB / 0.5754 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.6438, allocations: 8 kB / 0.5754 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.6442, allocations: 35.98 kB / 0.5755 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.6442, allocations: 19.98 kB / 0.5755 GB, free: 2.914 MB / 394.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.0002145/0.6444, allocations: 157.6 kB / 0.5756 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6446, allocations: 27.72 kB / 0.5757 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.53e-05/0.6447, allocations: 33.7 kB / 0.5757 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.6447, allocations: 4 kB / 0.5757 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6447, allocations: 0 / 0.5757 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.6448, allocations: 4 kB / 0.5757 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.6471, allocations: 1.017 MB / 0.5767 GB, free: 1.605 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.6471, allocations: 7.984 kB / 0.5767 GB, free: 1.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007273/0.6479, allocations: 79.89 kB / 0.5768 GB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.6479, allocations: 4 kB / 0.5768 GB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/0.648, allocations: 11.95 kB / 0.5768 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.648, allocations: 12.05 kB / 0.5768 GB, free: 1.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.648, allocations: 4 kB / 0.5768 GB, free: 1.488 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6498, allocations: 0.8225 MB / 0.5776 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.65, allocations: 100.7 kB / 0.5777 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.602e-05/0.6501, allocations: 12.06 kB / 0.5777 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.6505, allocations: 23.98 kB / 0.5778 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6507, allocations: 23.91 kB / 0.5778 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.6507, allocations: 16 kB / 0.5778 GB, free: 432 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002171/0.6509, allocations: 156.5 kB / 0.5779 GB, free: 272 kB / 394.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6509, allocations: 0 / 0.5779 GB, free: 272 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006842/0.6516, allocations: 68 kB / 0.578 GB, free: 204 kB / 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.0001638/0.6518, allocations: 103.2 kB / 0.5781 GB, free: 88 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001197/0.653, allocations: 301.6 kB / 0.5784 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.653, allocations: 0 / 0.5784 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.6536, allocations: 144.6 kB / 0.5785 GB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.6542, allocations: 37.19 kB / 0.5786 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.6564, allocations: 1.102 MB / 0.5796 GB, free: 14.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.6569, allocations: 0.7775 MB / 0.5804 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.657, allocations: 31.42 kB / 0.5804 GB, free: 13.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.657, allocations: 0 / 0.5804 GB, free: 13.63 MB / 410.7 MB Notification: Performance of Templates: time 0.008515/0.6656, allocations: 3.219 MB / 0.5836 GB, free: 10.43 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestSpeed/TestSpeed.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.TestSpeed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches