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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 171.9 kB / 24.92 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9933/0.9933, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2487/0.2487, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 323.2 MB, free: 9.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.68e-05, allocations: 6.25 kB / 323.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.00231/0.002327, allocations: 1.921 MB / 325.2 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003337/0.00266, allocations: 155.4 kB / 325.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.002729, allocations: 7.938 kB / 325.3 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.00278, allocations: 15.8 kB / 325.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.002904, allocations: 59.48 kB / 325.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001171/0.003021, allocations: 39.94 kB / 325.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.003167, allocations: 191 kB / 325.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003284, allocations: 46.98 kB / 325.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.003398, allocations: 103.8 kB / 325.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.003505, allocations: 59.81 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.00353, allocations: 12 kB / 325.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.92e-05/0.003549, allocations: 16 kB / 325.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.00358, allocations: 31.91 kB / 325.9 MB, free: 7.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.003631, allocations: 63.83 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.003777, allocations: 119.5 kB / 326.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.003779, allocations: 4 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00378, allocations: 0 / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.003784, allocations: 0 / 326.1 MB, free: 6.824 MB / 298.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.0003511/0.004135, allocations: 361.7 kB / 326.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.004166, allocations: 8.031 kB / 326.4 MB, free: 6.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.004203, allocations: 24.92 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.004339, allocations: 141.5 kB / 326.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.004351, allocations: 12.7 kB / 326.6 MB, free: 6.234 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.00438, allocations: 20.38 kB / 326.6 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.004519, allocations: 138.1 kB / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.004531, allocations: 192 / 326.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.004543, allocations: 12.38 kB / 326.8 MB, free: 6.059 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.004551, allocations: 4.375 kB / 326.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.696e-05/0.004608, allocations: 41.19 kB / 326.8 MB, free: 6.016 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.005049, allocations: 415.8 kB / 327.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.005166, allocations: 97.12 kB / 327.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.005201, allocations: 29.72 kB / 327.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.005211, allocations: 8 kB / 327.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.005233, allocations: 30.75 kB / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.005234, allocations: 0 / 327.4 MB, free: 5.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003729/0.005607, allocations: 187.1 kB / 327.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.005647, allocations: 85.05 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.005724, allocations: 130.6 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.005737, allocations: 29.7 kB / 327.8 MB, free: 4.922 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.005792, allocations: 120.3 kB / 327.9 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.005825, allocations: 63.47 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.005865, allocations: 37.69 kB / 328 MB, free: 4.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.005958, allocations: 326.8 kB / 328.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.005979, allocations: 15.98 kB / 328.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.062e-05/0.00604, allocations: 84.56 kB / 328.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.787e-05/0.006138, allocations: 124.3 kB / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.00614, allocations: 0 / 328.6 MB, free: 4.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001869/0.006327, allocations: 159.2 kB / 328.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.006345, allocations: 7.984 kB / 328.7 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.006351, allocations: 7.938 kB / 328.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.006522, allocations: 37.7 kB / 328.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.006631, allocations: 46.86 kB / 328.8 MB, free: 3.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.007885, allocations: 2.53 MB / 331.4 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.153e-05/0.007926, allocations: 11.89 kB / 331.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.007934, allocations: 12 kB / 331.4 MB, free: 1.09 MB / 298.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/0.008004, allocations: 129.9 kB / 331.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.008039, allocations: 19.92 kB / 331.5 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.008058, allocations: 12.78 kB / 331.5 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.008059, allocations: 0 / 331.5 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.008063, allocations: 0 / 331.5 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.008066, allocations: 4 kB / 331.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.008203, allocations: 109.8 kB / 331.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.008205, allocations: 0 / 331.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.008302, allocations: 46.09 kB / 331.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.4e-05/0.008386, allocations: 37.64 kB / 331.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.008395, allocations: 8 kB / 331.7 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/0.009488, allocations: 2.521 MB / 334.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009489, allocations: 0 / 334.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.009681, allocations: 308.3 kB / 334.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.009689, allocations: 7.953 kB / 334.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.0097, allocations: 4 kB / 334.6 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.782e-05/0.009758, allocations: 8.062 kB / 334.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.009777, allocations: 16.09 kB / 334.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.009784, allocations: 15.88 kB / 334.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.764e-05/0.009802, allocations: 20.83 kB / 334.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009802, allocations: 0 / 334.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.01005, allocations: 55.89 kB / 334.7 MB, free: 13.55 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.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 (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 6.954e-05/0.01012, allocations: 76.89 kB / 334.8 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002904/0.01041, allocations: 342.2 kB / 335.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01042, allocations: 0 / 335.1 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.01056, allocations: 284 kB / 335.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01078, allocations: 31.72 kB / 335.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.01138, allocations: 416.2 kB / 335.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.773e-05/0.01143, allocations: 71.98 kB / 335.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.41e-05/0.01147, allocations: 17.66 kB / 335.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.01153, allocations: 71.36 kB / 336 MB, free: 12.16 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01153, allocations: 3.938 kB / 336 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Templates: time 0.003874/0.01541, allocations: 2.333 MB / 338.3 MB, free: 9.895 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.849167625885457]