Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.71/1.71, allocations: 205.4 MB / 223.6 MB, free: 9.035 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.0008451/0.0008449, allocations: 89.41 kB / 271.9 MB, free: 8.285 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.331/0.331, allocations: 43.55 MB / 363.7 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006385, allocations: 12 kB / 432.6 MB, free: 5.688 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1504, allocations: 58.85 MB / 491.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/0.4942, allocations: 88.34 MB / 0.5662 GB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4945, allocations: 78.11 kB / 0.5663 GB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01235/0.5069, allocations: 4.533 MB / 0.5707 GB, free: 9.406 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.5069, allocations: 0 / 0.5707 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5069, allocations: 4 kB / 0.5707 GB, free: 9.402 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008129/0.5077, allocations: 0.5259 MB / 0.5712 GB, free: 8.832 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5078, allocations: 11.97 kB / 0.5712 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.5079, allocations: 24.66 kB / 0.5712 GB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.5081, allocations: 247.9 kB / 0.5715 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.5082, allocations: 16.81 kB / 0.5715 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.5082, allocations: 24.38 kB / 0.5715 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.5087, allocations: 251.8 kB / 0.5718 GB, free: 8.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.5088, allocations: 8.094 kB / 0.5718 GB, free: 8.223 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.5088, allocations: 11.94 kB / 0.5718 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.5088, allocations: 4 kB / 0.5718 GB, free: 8.207 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.5093, allocations: 217.6 kB / 0.572 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.5105, allocations: 0.7203 MB / 0.5727 GB, free: 7.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.5109, allocations: 219.2 kB / 0.5729 GB, free: 7 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002488/0.5112, allocations: 137.3 kB / 0.573 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.379e-05/0.5112, allocations: 8.234 kB / 0.573 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.5113, allocations: 34.8 kB / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 1.684e-06/0.5113, allocations: 0 / 0.5731 GB, free: 6.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=35): time 0.002957/0.5142, allocations: 1.507 MB / 0.5745 GB, free: 5.199 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.5143, allocations: 55.41 kB / 0.5746 GB, free: 5.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5145, allocations: 186.5 kB / 0.5748 GB, free: 4.941 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.5145, allocations: 37.7 kB / 0.5748 GB, free: 4.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.5146, allocations: 128.8 kB / 0.5749 GB, free: 4.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5147, allocations: 118.4 kB / 0.5751 GB, free: 4.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.5147, allocations: 4 kB / 0.5751 GB, free: 4.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5149, allocations: 334.8 kB / 0.5754 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.5151, allocations: 115.7 kB / 0.5755 GB, free: 4.199 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.5154, allocations: 159.4 kB / 0.5756 GB, free: 4.031 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.5158, allocations: 232.5 kB / 0.5759 GB, free: 3.793 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5158, allocations: 0 / 0.5759 GB, free: 3.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007281/0.5166, allocations: 417.5 kB / 0.5763 GB, free: 3.375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.5166, allocations: 8 kB / 0.5763 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.5166, allocations: 0 / 0.5763 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.517, allocations: 192.8 kB / 0.5764 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.5173, allocations: 55.91 kB / 0.5765 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006794/0.5179, allocations: 0.7162 MB / 0.5772 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.5182, allocations: 52.06 kB / 0.5772 GB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.5183, allocations: 15.98 kB / 0.5773 GB, free: 2.312 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode,bearingFriction1.free) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.5184, allocations: 141.8 kB / 0.5774 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.5185, allocations: 24.34 kB / 0.5774 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009222/0.5194, allocations: 452.9 kB / 0.5779 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.5194, allocations: 8 kB / 0.5779 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5194, allocations: 4 kB / 0.5779 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5195, allocations: 3.984 kB / 0.5779 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.5209, allocations: 0.9388 MB / 0.5788 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.5209, allocations: 0 / 0.5788 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.5212, allocations: 55.91 kB / 0.5788 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.5215, allocations: 172.8 kB / 0.579 GB, free: 448 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.5216, allocations: 15.98 kB / 0.579 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005849/0.5222, allocations: 0.6783 MB / 0.5797 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5222, allocations: 4 kB / 0.5797 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.5232, allocations: 0.6225 MB / 0.5803 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.5234, allocations: 124.8 kB / 0.5804 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.5234, allocations: 8 kB / 0.5804 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.5237, allocations: 55.95 kB / 0.5805 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5238, allocations: 55.89 kB / 0.5805 GB, free: 14.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.5239, allocations: 15.98 kB / 0.5805 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.524, allocations: 135.5 kB / 0.5807 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.524, allocations: 0 / 0.5807 GB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.5244, allocations: 83.88 kB / 0.5808 GB, free: 14.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.5246, allocations: 131.8 kB / 0.5809 GB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.5253, allocations: 340.4 kB / 0.5812 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5253, allocations: 0 / 0.5812 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.5256, allocations: 153.9 kB / 0.5813 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.526, allocations: 36.23 kB / 0.5814 GB, free: 13.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5279, allocations: 0.9711 MB / 0.5823 GB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.5282, allocations: 0.7561 MB / 0.5831 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.5283, allocations: 23.44 kB / 0.5831 GB, free: 12.12 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5283, allocations: 3.938 kB / 0.5831 GB, free: 12.11 MB / 410.7 MB Notification: Performance of Templates: time 0.005775/0.5341, allocations: 4.083 MB / 0.5871 GB, free: 8.035 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches