Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.5 MB / 230.7 MB, free: 7.582 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008329, allocations: 82.25 kB / 281.6 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2128/0.2128, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.276e-05, allocations: 224 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.128, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4099/0.5379, allocations: 85.44 MB / 0.5781 GB, free: 11.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/0.5383, allocations: 67.97 kB / 0.5782 GB, free: 11.01 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00718/0.5455, allocations: 2.664 MB / 0.5808 GB, free: 8.355 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5455, allocations: 0 / 0.5808 GB, free: 8.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.5456, allocations: 8 kB / 0.5808 GB, free: 8.348 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005585/0.5461, allocations: 410.4 kB / 0.5812 GB, free: 7.898 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.5462, allocations: 11.98 kB / 0.5812 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.853e-05/0.5463, allocations: 19.81 kB / 0.5812 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.5465, allocations: 174.9 kB / 0.5814 GB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.5465, allocations: 8 kB / 0.5814 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.5466, allocations: 11.98 kB / 0.5814 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001978/0.5468, allocations: 76.59 kB / 0.5815 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/0.5471, allocations: 149.3 kB / 0.5816 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5471, allocations: 3.906 kB / 0.5816 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.5471, allocations: 0 / 0.5816 GB, free: 7.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5471, allocations: 4 kB / 0.5816 GB, free: 7.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.548, allocations: 0.5766 MB / 0.5822 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.5482, allocations: 113.2 kB / 0.5823 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.5483, allocations: 49.84 kB / 0.5823 GB, free: 6.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.5483, allocations: 4 kB / 0.5823 GB, free: 6.586 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5484, allocations: 30.56 kB / 0.5824 GB, free: 6.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.5484, allocations: 0.75 kB / 0.5824 GB, free: 6.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003877/0.5488, allocations: 142.1 kB / 0.5825 GB, free: 6.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.5488, allocations: 85.16 kB / 0.5826 GB, free: 6.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.5489, allocations: 127.8 kB / 0.5827 GB, free: 6.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.549, allocations: 25.7 kB / 0.5827 GB, free: 6.133 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.146e-05/0.549, allocations: 128 kB / 0.5828 GB, free: 6.004 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.5491, allocations: 59.19 kB / 0.5829 GB, free: 5.945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5491, allocations: 0 / 0.5829 GB, free: 5.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.5492, allocations: 322.8 kB / 0.5832 GB, free: 5.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.5493, allocations: 28 kB / 0.5832 GB, free: 5.594 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.5494, allocations: 93.72 kB / 0.5833 GB, free: 5.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.5495, allocations: 55.91 kB / 0.5834 GB, free: 5.418 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5495, allocations: 0 / 0.5834 GB, free: 5.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003442/0.5499, allocations: 191 kB / 0.5836 GB, free: 5.219 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.5499, allocations: 9.641 kB / 0.5836 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.5499, allocations: 8 kB / 0.5836 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.5502, allocations: 45.7 kB / 0.5836 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5503, allocations: 35.92 kB / 0.5837 GB, free: 5.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.5522, allocations: 2.61 MB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.606e-05/0.5523, allocations: 11.84 kB / 0.5862 GB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5524, allocations: 4 kB / 0.5862 GB, free: 2.258 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5525, allocations: 122.7 kB / 0.5863 GB, free: 2.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.5525, allocations: 15.8 kB / 0.5864 GB, free: 2.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.409e-05/0.5526, allocations: 12.62 kB / 0.5864 GB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5526, allocations: 8.094 kB / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.5526, allocations: 0 / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5526, allocations: 0 / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.5529, allocations: 201.9 kB / 0.5866 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.5529, allocations: 0 / 0.5866 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.553, allocations: 23.98 kB / 0.5866 GB, free: 1.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001308/0.5532, allocations: 45.7 kB / 0.5866 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.5532, allocations: 7.938 kB / 0.5866 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.5549, allocations: 2.606 MB / 0.5892 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.555, allocations: 3.938 kB / 0.5892 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.5553, allocations: 378.2 kB / 0.5895 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.86e-05/0.5554, allocations: 85.02 kB / 0.5896 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.5554, allocations: 4.062 kB / 0.5896 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.955e-05/0.5555, allocations: 4 kB / 0.5896 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.5556, allocations: 7.984 kB / 0.5896 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5556, allocations: 11.98 kB / 0.5897 GB, free: 14.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.5556, allocations: 95.28 kB / 0.5897 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5556, allocations: 0 / 0.5897 GB, free: 14.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.5561, allocations: 47.84 kB / 0.5898 GB, free: 14.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.5563, allocations: 99.19 kB / 0.5899 GB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004614/0.5567, allocations: 323.8 kB / 0.5902 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5567, allocations: 0 / 0.5902 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.557, allocations: 259.5 kB / 0.5904 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.5573, allocations: 33.73 kB / 0.5905 GB, free: 13.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008465/0.5582, allocations: 0.5614 MB / 0.591 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.5585, allocations: 0.7243 MB / 0.5917 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.928e-05/0.5586, allocations: 9.203 kB / 0.5917 GB, free: 12.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.5586, allocations: 11.44 kB / 0.5918 GB, free: 12.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5586, allocations: 4 kB / 0.5918 GB, free: 12.16 MB / 410.7 MB Notification: Performance of Templates: time 0.004186/0.5628, allocations: 1.702 MB / 0.5934 GB, free: 10.47 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches