Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001379/0.001379, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001701/0.001701, allocations: 171.8 kB / 24.91 MB, free: 8.773 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.9919/0.9919, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2706/0.2706, allocations: 34.26 MB / 296.1 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 325.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.346e-05, allocations: 2.312 kB / 325.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002131/0.002155, allocations: 1.876 MB / 327.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003539/0.002509, allocations: 163.3 kB / 327.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.002575, allocations: 8 kB / 327.3 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/0.002632, allocations: 15.8 kB / 327.3 MB, free: 5.613 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.002764, allocations: 55.48 kB / 327.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.002904, allocations: 39.94 kB / 327.4 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.003068, allocations: 194.9 kB / 327.6 MB, free: 5.328 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.003217, allocations: 43.05 kB / 327.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.003364, allocations: 107.8 kB / 327.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.003476, allocations: 55.88 kB / 327.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.003505, allocations: 16 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.146e-05/0.003527, allocations: 16 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.003557, allocations: 31.84 kB / 327.8 MB, free: 5.066 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.003609, allocations: 63.89 kB / 327.9 MB, free: 5.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.003779, allocations: 119.5 kB / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00378, allocations: 0 / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.003781, allocations: 0 / 328 MB, free: 4.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.003787, allocations: 0 / 328 MB, free: 4.887 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.0004344/0.004221, allocations: 357.9 kB / 328.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.004269, allocations: 8.031 kB / 328.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.004317, allocations: 32.92 kB / 328.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.004471, allocations: 149.5 kB / 328.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.004484, allocations: 8.703 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.00452, allocations: 16.38 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.004664, allocations: 130.2 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.004677, allocations: 4.172 kB / 328.7 MB, free: 4.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.004691, allocations: 12.38 kB / 328.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.004699, allocations: 8.359 kB / 328.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.149e-05/0.004761, allocations: 46.84 kB / 328.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.005247, allocations: 415.8 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.005373, allocations: 89.19 kB / 329.3 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.572e-05/0.005409, allocations: 33.84 kB / 329.3 MB, free: 3.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.005421, allocations: 7.938 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.005445, allocations: 34.55 kB / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.005447, allocations: 0 / 329.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004051/0.005852, allocations: 175.1 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.005896, allocations: 81.11 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.722e-05/0.005983, allocations: 137.1 kB / 329.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005995, allocations: 25.7 kB / 329.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.006051, allocations: 120.3 kB / 329.9 MB, free: 2.871 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.006088, allocations: 63.47 kB / 329.9 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.006132, allocations: 45.67 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.006232, allocations: 326.8 kB / 330.3 MB, free: 2.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.006257, allocations: 15.98 kB / 330.3 MB, free: 2.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.006322, allocations: 91.75 kB / 330.4 MB, free: 2.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.00642, allocations: 116.4 kB / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.006424, allocations: 0 / 330.5 MB, free: 2.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001998/0.006624, allocations: 166.9 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.00664, allocations: 4 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.954e-06/0.006648, allocations: 4 kB / 330.7 MB, free: 1.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.006828, allocations: 42.19 kB / 330.7 MB, free: 1.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.006929, allocations: 35.92 kB / 330.7 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.008389, allocations: 2.526 MB / 333.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.511e-05/0.008434, allocations: 15.89 kB / 333.3 MB, free: 15.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.008442, allocations: 4 kB / 333.3 MB, free: 15.16 MB / 314.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 8.028e-05/0.008523, allocations: 121.9 kB / 333.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.008552, allocations: 19.91 kB / 333.4 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.143e-05/0.008574, allocations: 20.72 kB / 333.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.008575, allocations: 0 / 333.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.00858, allocations: 4.062 kB / 333.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.008586, allocations: 7.984 kB / 333.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.008743, allocations: 105.8 kB / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.008746, allocations: 0 / 333.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.008846, allocations: 23.98 kB / 333.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.008972, allocations: 45.67 kB / 333.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008981, allocations: 0 / 333.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.01021, allocations: 2.526 MB / 336.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.01021, allocations: 0 / 336.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.01043, allocations: 315.6 kB / 336.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.01044, allocations: 16.08 kB / 336.5 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.01045, allocations: 7.984 kB / 336.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.01051, allocations: 4 kB / 336.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.063e-05/0.01053, allocations: 7.984 kB / 336.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.01054, allocations: 4 kB / 336.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.437e-05/0.01056, allocations: 20.84 kB / 336.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01056, allocations: 0 / 336.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002625/0.01082, allocations: 55.89 kB / 336.6 MB, free: 11.64 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 0.0001065/0.01093, allocations: 84.41 kB / 336.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.01127, allocations: 329.8 kB / 337 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.01128, allocations: 0 / 337 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.01142, allocations: 286.5 kB / 337.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.01165, allocations: 37.77 kB / 337.3 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.01238, allocations: 414 kB / 337.7 MB, free: 10.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.689e-05/0.01243, allocations: 79.97 kB / 337.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.01247, allocations: 9.5 kB / 337.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.781e-05/0.01253, allocations: 71.36 kB / 337.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01254, allocations: 4 kB / 337.9 MB, free: 10.24 MB / 314.7 MB Notification: Performance of Templates: time 0.004234/0.01677, allocations: 2.248 MB / 340.1 MB, free: 8.055 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 3.0177348386496305]