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.001981/0.001981, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002327/0.002327, allocations: 213.3 kB / 23.75 MB, free: 4.668 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: 8.004 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.2584/0.2584, allocations: 46.94 MB / 360.8 MB, free: 4.355 MB / 286.1 MB " [Timeout remaining time 179] 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.00213/0.00213, allocations: 63.89 kB / 0.4966 GB, free: 7.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 66.02 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003758/0.4217, allocations: 1.882 MB / 0.5629 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004159/0.4221, allocations: 147.5 kB / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.075e-05/0.4222, allocations: 0 / 0.5631 GB, free: 2.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.679e-05/0.4222, allocations: 27.72 kB / 0.5631 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.4224, allocations: 63.48 kB / 0.5632 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.4226, allocations: 31.97 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.4228, allocations: 187.1 kB / 0.5634 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.423, allocations: 41.72 kB / 0.5634 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4231, allocations: 67.8 kB / 0.5635 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.4233, allocations: 71.69 kB / 0.5636 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.4233, allocations: 16 kB / 0.5636 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.915e-05/0.4233, allocations: 12 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.4234, allocations: 39.84 kB / 0.5636 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4235, allocations: 91.55 kB / 0.5637 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.4238, allocations: 181.7 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4238, allocations: 0 / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4238, allocations: 0 / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.4238, allocations: 0 / 0.5639 GB, free: 1.574 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.0006502/0.4244, allocations: 381.9 kB / 0.5642 GB, free: 1.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4245, allocations: 12.02 kB / 0.5643 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.4245, allocations: 16.84 kB / 0.5643 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.4247, allocations: 146.2 kB / 0.5644 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4248, allocations: 16.7 kB / 0.5644 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.096e-05/0.4248, allocations: 28.31 kB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003646/0.4252, allocations: 162.1 kB / 0.5646 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.4252, allocations: 8.172 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.4252, allocations: 7.938 kB / 0.5646 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4252, allocations: 7.984 kB / 0.5646 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.4254, allocations: 87.95 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000896/0.4263, allocations: 0.5579 MB / 0.5653 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.4266, allocations: 125.1 kB / 0.5654 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.4267, allocations: 45.7 kB / 0.5654 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.4267, allocations: 12 kB / 0.5654 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4267, allocations: 34.69 kB / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.4267, allocations: 0 / 0.5655 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000789/0.4275, allocations: 223.1 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4276, allocations: 77.11 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4277, allocations: 130.1 kB / 0.5659 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.4277, allocations: 33.7 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.343e-05/0.4278, allocations: 128.2 kB / 0.566 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.4279, allocations: 59.48 kB / 0.5661 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.4279, allocations: 41.7 kB / 0.5661 GB, free: 15.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4281, allocations: 322.8 kB / 0.5664 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.4281, allocations: 35.98 kB / 0.5665 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4283, allocations: 102.2 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4285, allocations: 168.4 kB / 0.5667 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.4285, allocations: 4 kB / 0.5667 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003993/0.4289, allocations: 223.3 kB / 0.5669 GB, free: 14.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4289, allocations: 8.25 kB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4289, allocations: 8 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002426/0.4292, allocations: 49.64 kB / 0.567 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.4293, allocations: 35.97 kB / 0.567 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002581/0.4319, allocations: 2.775 MB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.432, allocations: 19.92 kB / 0.5698 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.432, allocations: 4 kB / 0.5698 GB, free: 11 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.0001424/0.4321, allocations: 141.8 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.4322, allocations: 15.84 kB / 0.5699 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.4322, allocations: 24.64 kB / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4322, allocations: 144 / 0.5699 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4323, allocations: 3.984 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4323, allocations: 4 kB / 0.57 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.4326, allocations: 192.7 kB / 0.5701 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4326, allocations: 3.984 kB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4327, allocations: 28 kB / 0.5702 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.4329, allocations: 53.62 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.4329, allocations: 11.94 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00236/0.4353, allocations: 2.779 MB / 0.5729 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4353, allocations: 0 / 0.5729 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.4357, allocations: 368.5 kB / 0.5733 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.4357, allocations: 11.89 kB / 0.5733 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.4358, allocations: 12.05 kB / 0.5733 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.4359, allocations: 3.938 kB / 0.5733 GB, free: 7.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.4359, allocations: 11.98 kB / 0.5733 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.4359, allocations: 4 kB / 0.5733 GB, free: 7.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.436, allocations: 102.1 kB / 0.5734 GB, free: 6.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.436, allocations: 0 / 0.5734 GB, free: 6.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000473/0.4365, allocations: 55.95 kB / 0.5735 GB, free: 6.891 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.0001267/0.4366, allocations: 107.1 kB / 0.5736 GB, free: 6.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006249/0.4372, allocations: 337.7 kB / 0.5739 GB, free: 6.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4372, allocations: 4.312 kB / 0.5739 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.4376, allocations: 289.2 kB / 0.5742 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.4382, allocations: 32.11 kB / 0.5742 GB, free: 6.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4394, allocations: 0.6375 MB / 0.5748 GB, free: 5.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4398, allocations: 0.7281 MB / 0.5756 GB, free: 4.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.4398, allocations: 9.422 kB / 0.5756 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.4399, allocations: 15.44 kB / 0.5756 GB, free: 4.633 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4399, allocations: 3.938 kB / 0.5756 GB, free: 4.629 MB / 414.1 MB Notification: Performance of Templates: time 0.006007/0.4459, allocations: 2.06 MB / 0.5776 GB, free: 2.582 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.747863352065906]