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.001787/0.001787, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.002527/0.002527, allocations: 210.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2374/0.2374, allocations: 46.96 MB / 360.9 MB, free: 4.051 MB / 286.1 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 0.002114/0.002114, allocations: 63.89 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3546, allocations: 66.03 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002953/0.3575, allocations: 1.775 MB / 0.5628 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.3579, allocations: 155.4 kB / 0.5629 GB, free: 2.242 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.358, allocations: 4 kB / 0.5629 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.358, allocations: 19.8 kB / 0.563 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3581, allocations: 51.48 kB / 0.563 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3583, allocations: 39.95 kB / 0.5631 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.3585, allocations: 195.1 kB / 0.5632 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.3586, allocations: 37.72 kB / 0.5633 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3587, allocations: 67.78 kB / 0.5633 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.3588, allocations: 63.7 kB / 0.5634 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.3589, allocations: 12 kB / 0.5634 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.344e-05/0.3589, allocations: 16 kB / 0.5634 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.595e-05/0.3589, allocations: 35.84 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.801e-05/0.359, allocations: 67.73 kB / 0.5635 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3592, allocations: 189.6 kB / 0.5637 GB, free: 1.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3592, allocations: 4 kB / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3592, allocations: 0 / 0.5637 GB, free: 1.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3593, allocations: 0 / 0.5637 GB, free: 1.457 MB / 398.1 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.0005435/0.3598, allocations: 385.9 kB / 0.5641 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.3598, allocations: 8.031 kB / 0.5641 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.3599, allocations: 16.84 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.3601, allocations: 146.3 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3601, allocations: 16.69 kB / 0.5643 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.541e-05/0.3601, allocations: 20.33 kB / 0.5643 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.3604, allocations: 170.2 kB / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3604, allocations: 192 / 0.5644 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3604, allocations: 11.94 kB / 0.5645 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.3604, allocations: 4 kB / 0.5645 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.3606, allocations: 87.89 kB / 0.5645 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.3614, allocations: 499.9 kB / 0.565 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.3616, allocations: 129.1 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.3617, allocations: 53.64 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3617, allocations: 4 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3617, allocations: 38.56 kB / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3617, allocations: 0 / 0.5652 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006874/0.3624, allocations: 215.2 kB / 0.5654 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3625, allocations: 89.11 kB / 0.5655 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.3626, allocations: 132.7 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3626, allocations: 29.7 kB / 0.5657 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.3627, allocations: 128.2 kB / 0.5658 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.3627, allocations: 63.47 kB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.3628, allocations: 33.72 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3629, allocations: 326.8 kB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.363, allocations: 35.98 kB / 0.5662 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.3631, allocations: 106.2 kB / 0.5663 GB, free: 14.53 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.3633, allocations: 156.5 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3633, allocations: 4 kB / 0.5665 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003783/0.3637, allocations: 231.6 kB / 0.5667 GB, free: 14.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3637, allocations: 8 kB / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3637, allocations: 48 / 0.5667 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002139/0.3639, allocations: 53.77 kB / 0.5668 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3641, allocations: 39.86 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.3664, allocations: 2.73 MB / 0.5695 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.07e-05/0.3665, allocations: 23.86 kB / 0.5695 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3665, allocations: 4 kB / 0.5695 GB, free: 11.04 MB / 414.1 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.000118/0.3666, allocations: 137.8 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.3667, allocations: 12.12 kB / 0.5696 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.3667, allocations: 20.72 kB / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3667, allocations: 0 / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3667, allocations: 0 / 0.5697 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3667, allocations: 7.938 kB / 0.5697 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.367, allocations: 157.2 kB / 0.5698 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.367, allocations: 4 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.3671, allocations: 27.98 kB / 0.5699 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.3672, allocations: 49.69 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3673, allocations: 4 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.3694, allocations: 2.722 MB / 0.5726 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3694, allocations: 4.031 kB / 0.5726 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.3698, allocations: 368.6 kB / 0.5729 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3698, allocations: 15.89 kB / 0.5729 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3698, allocations: 8.062 kB / 0.5729 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.3699, allocations: 3.984 kB / 0.5729 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.37, allocations: 19.86 kB / 0.573 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.37, allocations: 4 kB / 0.573 GB, free: 7.215 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.777e-05/0.37, allocations: 99.27 kB / 0.5731 GB, free: 7.117 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.37, allocations: 0 / 0.5731 GB, free: 7.117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.3705, allocations: 55.89 kB / 0.5731 GB, free: 7.062 MB / 414.1 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.0001134/0.3706, allocations: 106.4 kB / 0.5732 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000579/0.3712, allocations: 341.2 kB / 0.5735 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3712, allocations: 0 / 0.5735 GB, free: 6.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.3715, allocations: 286 kB / 0.5738 GB, free: 6.289 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.372, allocations: 47.69 kB / 0.5739 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.373, allocations: 0.6394 MB / 0.5745 GB, free: 5.582 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.3732, allocations: 120.1 kB / 0.5746 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.014e-05/0.3732, allocations: 9.422 kB / 0.5746 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.3732, allocations: 15.44 kB / 0.5746 GB, free: 5.418 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3732, allocations: 0 / 0.5746 GB, free: 5.418 MB / 414.1 MB Notification: Performance of Templates: time 0.005528/0.3788, allocations: 2.22 MB / 0.5768 GB, free: 3.234 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.403180692344904]