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.001531/0.001531, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001829/0.001829, allocations: 164.9 kB / 24.84 MB, free: 9.266 MB / 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 1.07/1.07, allocations: 158.6 MB / 186.7 MB, free: 2.754 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.1535/0.1535, allocations: 32.37 MB / 271.5 MB, free: 14.53 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 2.084e-06/2.084e-06, allocations: 0 / 348.9 MB, free: 9.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.123e-05, allocations: 2.312 kB / 348.9 MB, free: 9.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002493/0.002524, allocations: 1.875 MB / 350.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003592/0.002884, allocations: 139.5 kB / 350.9 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.202e-05/0.002956, allocations: 7.938 kB / 350.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.209e-05/0.003008, allocations: 23.78 kB / 350.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.003136, allocations: 59.42 kB / 351 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003258, allocations: 35.95 kB / 351 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003393, allocations: 191 kB / 351.2 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.003532, allocations: 37.78 kB / 351.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.003655, allocations: 107.8 kB / 351.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.133e-05/0.003746, allocations: 59.88 kB / 351.4 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.00378, allocations: 12 kB / 351.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.003801, allocations: 16 kB / 351.4 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.00383, allocations: 35.83 kB / 351.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.003873, allocations: 63.84 kB / 351.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.00402, allocations: 119.5 kB / 351.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004022, allocations: 0 / 351.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.72e-07/0.004023, allocations: 0 / 351.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.004029, allocations: 0 / 351.7 MB, free: 6.418 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.0003753/0.004404, allocations: 484.2 kB / 352.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.004443, allocations: 8.031 kB / 352.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.004486, allocations: 32.84 kB / 352.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.004611, allocations: 156.3 kB / 352.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.004622, allocations: 8.703 kB / 352.3 MB, free: 5.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.00465, allocations: 24.31 kB / 352.4 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.004792, allocations: 131.8 kB / 352.5 MB, free: 5.512 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.004806, allocations: 8.125 kB / 352.5 MB, free: 5.504 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.004821, allocations: 12.38 kB / 352.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.00483, allocations: 4.375 kB / 352.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.635e-05/0.004886, allocations: 43.89 kB / 352.6 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004698/0.005356, allocations: 0.5573 MB / 353.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.005477, allocations: 110.1 kB / 353.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.005511, allocations: 39.36 kB / 353.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.005519, allocations: 4.188 kB / 353.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.005537, allocations: 45.25 kB / 353.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.005538, allocations: 0 / 353.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004416/0.00598, allocations: 196.8 kB / 353.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.006007, allocations: 81.11 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.006076, allocations: 185.8 kB / 353.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.304e-06/0.006083, allocations: 25.7 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.00614, allocations: 183 kB / 354 MB, free: 3.898 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.006167, allocations: 67.47 kB / 354 MB, free: 3.832 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.006211, allocations: 39.36 kB / 354.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.006283, allocations: 0.5 MB / 354.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.006303, allocations: 15.98 kB / 354.6 MB, free: 3.258 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.006354, allocations: 118 kB / 354.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.595e-05/0.00644, allocations: 152.7 kB / 354.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.006442, allocations: 0 / 354.8 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001759/0.006618, allocations: 193 kB / 355 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006632, allocations: 4 kB / 355 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.006643, allocations: 4 kB / 355 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001487/0.006791, allocations: 47.61 kB / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.006873, allocations: 39.92 kB / 355.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.008264, allocations: 3.718 MB / 358.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.45e-05/0.008319, allocations: 15.89 kB / 358.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.008327, allocations: 8 kB / 358.9 MB, free: 14.63 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 9.388e-05/0.008421, allocations: 168.5 kB / 359 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.008458, allocations: 19.84 kB / 359.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.008483, allocations: 20.77 kB / 359.1 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.008484, allocations: 4.094 kB / 359.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.008492, allocations: 4 kB / 359.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.008496, allocations: 0 / 359.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.008669, allocations: 137.1 kB / 359.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.008672, allocations: 0 / 359.2 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.763e-05/0.008759, allocations: 27.98 kB / 359.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.008866, allocations: 39.36 kB / 359.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.008881, allocations: 11.92 kB / 359.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.01048, allocations: 3.734 MB / 363 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01048, allocations: 0 / 363 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.01082, allocations: 438.3 kB / 363.5 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.01083, allocations: 7.953 kB / 363.5 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.01084, allocations: 4 kB / 363.5 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.0109, allocations: 4 kB / 363.5 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.01093, allocations: 15.97 kB / 363.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-06/0.01093, allocations: 4 kB / 363.5 MB, free: 9.711 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.104e-05/0.01098, allocations: 131.7 kB / 363.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-08/0.01098, allocations: 0 / 363.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003071/0.01129, allocations: 59.89 kB / 363.7 MB, free: 9.523 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.0001006/0.01139, allocations: 103.1 kB / 363.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003717/0.01176, allocations: 447 kB / 364.2 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.01176, allocations: 4 kB / 364.2 MB, free: 8.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.01195, allocations: 396 kB / 364.6 MB, free: 8.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.01226, allocations: 45.83 kB / 364.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.01327, allocations: 0.5096 MB / 365.2 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.626e-05/0.01333, allocations: 75.98 kB / 365.2 MB, free: 7.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.368e-05/0.01336, allocations: 9.484 kB / 365.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.01343, allocations: 98.19 kB / 365.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01343, allocations: 0 / 365.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of Templates: time 0.004302/0.01774, allocations: 2.288 MB / 367.6 MB, free: 5.473 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.2912294333800673]