Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001633/0.001633, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.597/1.597, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000885/0.000885, allocations: 98.8 kB / 270.2 MB, free: 13.37 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.2777/0.2777, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1208, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5326, allocations: 86.98 MB / 0.5637 GB, free: 12.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5329, allocations: 77.14 kB / 0.5638 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.5503, allocations: 6.261 MB / 0.5699 GB, free: 7.492 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5504, allocations: 0 / 0.5699 GB, free: 7.492 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.596e-05/0.5504, allocations: 4 kB / 0.5699 GB, free: 7.488 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001503/0.5519, allocations: 0.6136 MB / 0.5705 GB, free: 6.848 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.552, allocations: 12.56 kB / 0.5705 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.5522, allocations: 43.44 kB / 0.5705 GB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.5529, allocations: 275.9 kB / 0.5708 GB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/0.5529, allocations: 27.38 kB / 0.5708 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.472e-05/0.553, allocations: 42.78 kB / 0.5709 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.5538, allocations: 384.2 kB / 0.5712 GB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.5539, allocations: 5.297 kB / 0.5712 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.184e-05/0.5539, allocations: 15.56 kB / 0.5712 GB, free: 6.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.5539, allocations: 11.95 kB / 0.5713 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.5544, allocations: 258.8 kB / 0.5715 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.5561, allocations: 1.103 MB / 0.5726 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.5566, allocations: 353.7 kB / 0.5729 GB, free: 4.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.5567, allocations: 4.75 kB / 0.5729 GB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.5567, allocations: 41.94 kB / 0.573 GB, free: 4.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=39): time 2.024e-06/0.5567, allocations: 0 / 0.573 GB, free: 4.676 MB / 378.7 MB Notification: Performance of matching and sorting (n=57): time 0.004235/0.561, allocations: 2.477 MB / 0.5754 GB, free: 2.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.5611, allocations: 114.8 kB / 0.5755 GB, free: 2.184 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.5613, allocations: 212.9 kB / 0.5757 GB, free: 2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.5614, allocations: 42.45 kB / 0.5757 GB, free: 1.961 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.5615, allocations: 183.1 kB / 0.5759 GB, free: 1.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.5616, allocations: 190.8 kB / 0.5761 GB, free: 1.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.934e-05/0.5616, allocations: 10.81 kB / 0.5761 GB, free: 1.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5618, allocations: 355.2 kB / 0.5764 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.5621, allocations: 134.9 kB / 0.5766 GB, free: 1.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.5624, allocations: 239.6 kB / 0.5768 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.5627, allocations: 174.9 kB / 0.577 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5627, allocations: 0 / 0.577 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001076/0.5638, allocations: 0.5633 MB / 0.5775 GB, free: 464 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.5638, allocations: 7.938 kB / 0.5775 GB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5639, allocations: 4 kB / 0.5775 GB, free: 452 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/0.5642, allocations: 120.9 kB / 0.5776 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/0.5646, allocations: 103.8 kB / 0.5777 GB, free: 244 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004017/0.5686, allocations: 4.706 MB / 0.5823 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.5689, allocations: 27.86 kB / 0.5824 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.5689, allocations: 19.69 kB / 0.5824 GB, free: 11.54 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.5691, allocations: 164.5 kB / 0.5825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.5692, allocations: 43.48 kB / 0.5826 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.989e-05/0.5693, allocations: 48.98 kB / 0.5826 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5693, allocations: 12 kB / 0.5826 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/0.5694, allocations: 4 kB / 0.5826 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5694, allocations: 3.984 kB / 0.5826 GB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.5712, allocations: 1.335 MB / 0.584 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5712, allocations: 3.953 kB / 0.584 GB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.5716, allocations: 107.5 kB / 0.5841 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002637/0.5719, allocations: 95.83 kB / 0.5841 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.5719, allocations: 10.88 kB / 0.5842 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003525/0.5755, allocations: 4.134 MB / 0.5882 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.5755, allocations: 4.125 kB / 0.5882 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.5768, allocations: 1.005 MB / 0.5892 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.946e-05/0.5769, allocations: 109.1 kB / 0.5893 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.5769, allocations: 14.55 kB / 0.5893 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.5772, allocations: 15 kB / 0.5893 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5773, allocations: 51.38 kB / 0.5894 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.5773, allocations: 14.56 kB / 0.5894 GB, free: 4.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.5775, allocations: 177.5 kB / 0.5895 GB, free: 4.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5775, allocations: 3.938 kB / 0.5896 GB, free: 4.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006564/0.5782, allocations: 118.4 kB / 0.5897 GB, free: 4.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * 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 (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.5783, allocations: 117.9 kB / 0.5898 GB, free: 4.285 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.5796, allocations: 0.7744 MB / 0.5905 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5796, allocations: 0 / 0.5905 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007483/0.5804, allocations: 0.581 MB / 0.5911 GB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.5809, allocations: 58.28 kB / 0.5912 GB, free: 2.996 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.5828, allocations: 1.307 MB / 0.5924 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.5833, allocations: 0.8249 MB / 0.5932 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.5835, allocations: 35.27 kB / 0.5933 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/0.5835, allocations: 27.44 kB / 0.5933 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5835, allocations: 4 kB / 0.5933 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of Templates: time 0.008099/0.5916, allocations: 4.013 MB / 0.5972 GB, free: 12.82 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches