Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001168/0.001168, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001233/0.001233, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9856/0.9856, allocations: 158.6 MB / 186 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1483/0.1483, allocations: 32.36 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_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_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 347.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.301e-05, allocations: 4.281 kB / 347.6 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002407/0.00244, allocations: 1.888 MB / 349.5 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000379/0.002819, allocations: 147.5 kB / 349.7 MB, free: 7.754 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.002901, allocations: 4 kB / 349.7 MB, free: 7.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.093e-05/0.002952, allocations: 27.72 kB / 349.7 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.003076, allocations: 59.48 kB / 349.8 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.003213, allocations: 35.95 kB / 349.8 MB, free: 7.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.003356, allocations: 195 kB / 350 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.003486, allocations: 37.78 kB / 350 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.003602, allocations: 103.8 kB / 350.1 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.00369, allocations: 55.81 kB / 350.2 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.003715, allocations: 15.98 kB / 350.2 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.003734, allocations: 16 kB / 350.2 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.003759, allocations: 35.89 kB / 350.3 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.781e-05/0.003817, allocations: 59.86 kB / 350.3 MB, free: 7.121 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.003982, allocations: 123.5 kB / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.00399, allocations: 0 / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003991, allocations: 0 / 350.4 MB, free: 7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.003998, allocations: 0 / 350.4 MB, free: 7 MB / 282.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.0003807/0.004378, allocations: 480.3 kB / 350.9 MB, free: 6.488 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.004416, allocations: 8.031 kB / 350.9 MB, free: 6.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.004469, allocations: 32.84 kB / 350.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.004601, allocations: 152.4 kB / 351.1 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.004612, allocations: 12.7 kB / 351.1 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.004641, allocations: 16.38 kB / 351.1 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.00481, allocations: 159.7 kB / 351.3 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.004822, allocations: 4.141 kB / 351.3 MB, free: 6.074 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.004835, allocations: 4.375 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.004844, allocations: 4.375 kB / 351.3 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.004927, allocations: 59.89 kB / 351.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.005557, allocations: 0.5762 MB / 351.9 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.005713, allocations: 126.1 kB / 352 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.00576, allocations: 43.36 kB / 352.1 MB, free: 5.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.00577, allocations: 7.938 kB / 352.1 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.005789, allocations: 41.52 kB / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.654e-06/0.005791, allocations: 0 / 352.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004365/0.006227, allocations: 200.9 kB / 352.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.006249, allocations: 81.11 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.006333, allocations: 192 kB / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.006341, allocations: 29.7 kB / 352.6 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.006387, allocations: 179 kB / 352.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.006412, allocations: 59.48 kB / 352.9 MB, free: 4.348 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.006449, allocations: 43.36 kB / 352.9 MB, free: 4.297 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.006502, allocations: 0.4962 MB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.12e-05/0.006534, allocations: 19.98 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.771e-05/0.006591, allocations: 122 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.006705, allocations: 156.8 kB / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006707, allocations: 0 / 353.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002463/0.006953, allocations: 213 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.006976, allocations: 7.938 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.006986, allocations: 4 kB / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.007179, allocations: 51.59 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.007272, allocations: 31.98 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.008501, allocations: 3.764 MB / 357.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.008552, allocations: 20.05 kB / 357.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.008559, allocations: 8 kB / 357.8 MB, free: 15.05 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 0.0001005/0.008659, allocations: 172.5 kB / 357.9 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.008694, allocations: 19.84 kB / 358 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.008717, allocations: 16.77 kB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.008721, allocations: 7.938 kB / 358 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.008726, allocations: 0 / 358 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.00873, allocations: 0 / 358 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.008892, allocations: 172.5 kB / 358.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008894, allocations: 4 kB / 358.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.008997, allocations: 27.98 kB / 358.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001143/0.009111, allocations: 43.36 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.009124, allocations: 7.984 kB / 358.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.01107, allocations: 3.771 MB / 362 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.01107, allocations: 0 / 362 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003407/0.01141, allocations: 438.2 kB / 362.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.01142, allocations: 7.953 kB / 362.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.01144, allocations: 12.08 kB / 362.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.862e-05/0.0115, allocations: 8 kB / 362.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.01153, allocations: 7.984 kB / 362.5 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.01154, allocations: 4 kB / 362.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.0116, allocations: 139.2 kB / 362.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 362.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003048/0.0119, allocations: 59.89 kB / 362.7 MB, free: 9.828 MB / 298.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 0.0001147/0.01202, allocations: 99.23 kB / 362.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.01242, allocations: 443.1 kB / 363.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.01242, allocations: 0 / 363.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.01265, allocations: 403.3 kB / 363.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003162/0.01296, allocations: 44.62 kB / 363.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.01392, allocations: 0.5173 MB / 364.2 MB, free: 8.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.01398, allocations: 79.97 kB / 364.2 MB, free: 8.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.919e-05/0.01402, allocations: 9.5 kB / 364.2 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.01404, allocations: 12.5 kB / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of SimCode: time 1.382e-06/0.01405, allocations: 0 / 364.3 MB, free: 8.109 MB / 298.7 MB Notification: Performance of Templates: time 0.004835/0.01888, allocations: 2.094 MB / 366.4 MB, free: 6.051 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.1472489449661225]