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.000942/0.000942, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 221.3 MB / 236 MB, free: 2.961 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.0007818/0.0007818, allocations: 83.83 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1738/0.1738, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3483/0.4535, allocations: 86.11 MB / 0.5858 GB, free: 3.203 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.4537, allocations: 59.97 kB / 0.5858 GB, free: 3.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006811/0.4606, allocations: 2.693 MB / 0.5885 GB, free: 476 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4606, allocations: 0 / 0.5885 GB, free: 476 kB / 394.7 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.4606, allocations: 8 kB / 0.5885 GB, free: 468 kB / 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.0004277/0.461, allocations: 406.4 kB / 0.5889 GB, free: 12 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.4611, allocations: 8.031 kB / 0.5889 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.4612, allocations: 15.86 kB / 0.5889 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.4613, allocations: 178.9 kB / 0.5891 GB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.4613, allocations: 8.328 kB / 0.5891 GB, free: 15.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.4614, allocations: 20 kB / 0.5891 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.4617, allocations: 173.5 kB / 0.5893 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.4617, allocations: 3.906 kB / 0.5893 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4617, allocations: 7.938 kB / 0.5893 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4617, allocations: 4 kB / 0.5893 GB, free: 15.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4619, allocations: 79.98 kB / 0.5893 GB, free: 15.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008746/0.4628, allocations: 0.6228 MB / 0.59 GB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.463, allocations: 133.1 kB / 0.5901 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.184e-05/0.4631, allocations: 49.72 kB / 0.5901 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.4631, allocations: 4 kB / 0.5901 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.4632, allocations: 34.56 kB / 0.5902 GB, free: 14.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.4632, allocations: 0 / 0.5902 GB, free: 14.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005597/0.4637, allocations: 147.3 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.4638, allocations: 88.06 kB / 0.5904 GB, free: 14.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.464, allocations: 118.9 kB / 0.5905 GB, free: 14.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.464, allocations: 33.7 kB / 0.5905 GB, free: 14.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4641, allocations: 131.9 kB / 0.5907 GB, free: 13.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.4642, allocations: 55.2 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4643, allocations: 4 kB / 0.5907 GB, free: 13.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4644, allocations: 322.8 kB / 0.591 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4646, allocations: 36 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.4647, allocations: 103.6 kB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.4649, allocations: 51.92 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4649, allocations: 0 / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005399/0.4655, allocations: 223.2 kB / 0.5914 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.4655, allocations: 4 kB / 0.5914 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4655, allocations: 4 kB / 0.5914 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002873/0.4658, allocations: 49.78 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.466, allocations: 39.92 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.4683, allocations: 2.716 MB / 0.5942 GB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.4684, allocations: 15.75 kB / 0.5942 GB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.4685, allocations: 12 kB / 0.5942 GB, free: 10.04 MB / 410.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 8.596e-05/0.4686, allocations: 117 kB / 0.5943 GB, free: 9.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.82e-05/0.4686, allocations: 11.89 kB / 0.5943 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.4687, allocations: 16.77 kB / 0.5943 GB, free: 9.887 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4687, allocations: 3.984 kB / 0.5943 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4687, allocations: 4 kB / 0.5943 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.4687, allocations: 3.953 kB / 0.5943 GB, free: 9.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002958/0.469, allocations: 233.5 kB / 0.5946 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.469, allocations: 3.828 kB / 0.5946 GB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.4691, allocations: 27.98 kB / 0.5946 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.4693, allocations: 49.64 kB / 0.5946 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4693, allocations: 8 kB / 0.5947 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001813/0.4711, allocations: 2.704 MB / 0.5973 GB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4711, allocations: 4.219 kB / 0.5973 GB, free: 6.535 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003719/0.4715, allocations: 387.9 kB / 0.5977 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.4716, allocations: 85.02 kB / 0.5977 GB, free: 6.027 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.4716, allocations: 4.062 kB / 0.5978 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.4717, allocations: 4 kB / 0.5978 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4717, allocations: 19.94 kB / 0.5978 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.4718, allocations: 7.984 kB / 0.5978 GB, free: 5.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.008e-05/0.4718, allocations: 95.98 kB / 0.5979 GB, free: 5.898 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4718, allocations: 0 / 0.5979 GB, free: 5.898 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.4722, allocations: 55.84 kB / 0.5979 GB, free: 5.844 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.0001381/0.4724, allocations: 107.4 kB / 0.598 GB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.4729, allocations: 341.3 kB / 0.5984 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4729, allocations: 3.938 kB / 0.5984 GB, free: 5.367 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.4732, allocations: 281.8 kB / 0.5986 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.4735, allocations: 22.66 kB / 0.5986 GB, free: 5.047 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.4743, allocations: 0.572 MB / 0.5992 GB, free: 4.453 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.4745, allocations: 0.7243 MB / 0.5999 GB, free: 3.703 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.4746, allocations: 13.22 kB / 0.5999 GB, free: 3.691 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.103e-05/0.4746, allocations: 15.42 kB / 0.5999 GB, free: 3.676 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4746, allocations: 0 / 0.5999 GB, free: 3.676 MB / 410.7 MB Notification: Performance of Templates: time 0.004013/0.4786, allocations: 1.777 MB / 0.6017 GB, free: 1.914 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