Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.001324/0.001324, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001452/0.001452, allocations: 213.3 kB / 24.48 MB, free: 3.941 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2274/0.2274, allocations: 46.97 MB / 361.6 MB, free: 4.121 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.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") translateModel(ModelicaTest.Rotational.InitializationConversion.SpringDamper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|inertia5.phi|inertia5.w|inertia6.phi|inertia6.w|relativeStates.phi_rel|relativeStates.w_rel|springDamper1.phi_rel|springDamper1.w_rel|springDamper2.phi_rel|springDamper2.w_rel|springDamper3.phi_rel|springDamper3.w_rel",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 71.89 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3383, allocations: 66.03 MB / 0.5618 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004373/0.3426, allocations: 3 MB / 0.5647 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.3441, allocations: 0.8177 MB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.3443, allocations: 11.94 kB / 0.5655 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.3445, allocations: 75.19 kB / 0.5656 GB, free: 232 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003483/0.3448, allocations: 178.5 kB / 0.5658 GB, free: 52 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.3451, allocations: 103.9 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006239/0.3457, allocations: 0.5985 MB / 0.5665 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002636/0.346, allocations: 125.8 kB / 0.5666 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.3462, allocations: 223.3 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.3465, allocations: 246.9 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.3466, allocations: 47.92 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.874e-05/0.3467, allocations: 44 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.847e-05/0.3467, allocations: 99.62 kB / 0.5672 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.347, allocations: 227 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000698/0.3477, allocations: 0.5628 MB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3477, allocations: 0 / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3477, allocations: 0 / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3477, allocations: 0 / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001349/0.349, allocations: 0.6999 MB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.3491, allocations: 12.03 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.3492, allocations: 52.61 kB / 0.5687 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.3498, allocations: 264.7 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.3498, allocations: 37.38 kB / 0.569 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.3499, allocations: 60.27 kB / 0.5691 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007497/0.3507, allocations: 438.9 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.396e-05/0.3507, allocations: 7.953 kB / 0.5695 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.3508, allocations: 20 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.3508, allocations: 16 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.3513, allocations: 308.5 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.3529, allocations: 0.9365 MB / 0.5707 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.3536, allocations: 385 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3539, allocations: 187 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.3539, allocations: 12.47 kB / 0.5713 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.354, allocations: 43.03 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.934e-06/0.354, allocations: 0 / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003031/0.357, allocations: 1.845 MB / 0.5731 GB, free: 8.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.3571, allocations: 89.55 kB / 0.5732 GB, free: 8.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.3573, allocations: 241.8 kB / 0.5735 GB, free: 7.918 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.3573, allocations: 41.64 kB / 0.5735 GB, free: 7.871 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.3575, allocations: 213.3 kB / 0.5737 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.3577, allocations: 281.5 kB / 0.574 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.3578, allocations: 118.7 kB / 0.5741 GB, free: 7.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.358, allocations: 362.7 kB / 0.5744 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3583, allocations: 153.9 kB / 0.5746 GB, free: 6.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000361/0.3586, allocations: 272.9 kB / 0.5748 GB, free: 6.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.3593, allocations: 470.6 kB / 0.5753 GB, free: 5.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3593, allocations: 0 / 0.5753 GB, free: 5.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008718/0.3602, allocations: 0.5671 MB / 0.5758 GB, free: 5.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.3602, allocations: 12.28 kB / 0.5759 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3602, allocations: 0 / 0.5759 GB, free: 5.363 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.3602, allocations: 8 kB / 0.5759 GB, free: 5.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.3609, allocations: 179.7 kB / 0.576 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.3609, allocations: 8 kB / 0.576 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.3612, allocations: 20 kB / 0.5761 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.172e-05/0.3612, allocations: 32.06 kB / 0.5761 GB, free: 5.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (97): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002079/0.3614, allocations: 185.5 kB / 0.5763 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.3615, allocations: 59.7 kB / 0.5763 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.3616, allocations: 47.62 kB / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.3616, allocations: 8 kB / 0.5764 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.3616, allocations: 7.984 kB / 0.5764 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3616, allocations: 0 / 0.5764 GB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/0.3636, allocations: 1.284 MB / 0.5776 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3636, allocations: 4 kB / 0.5776 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.3643, allocations: 155.8 kB / 0.5778 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.3643, allocations: 8 kB / 0.5778 GB, free: 3.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.3644, allocations: 16 kB / 0.5778 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.3644, allocations: 4 kB / 0.5778 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.3644, allocations: 11.88 kB / 0.5778 GB, free: 3.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.3655, allocations: 0.9208 MB / 0.5787 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.3656, allocations: 39.72 kB / 0.5788 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.3657, allocations: 23.98 kB / 0.5788 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.3659, allocations: 19.94 kB / 0.5788 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/0.366, allocations: 52.34 kB / 0.5789 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.3661, allocations: 23.94 kB / 0.5789 GB, free: 2.105 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3662, allocations: 165.2 kB / 0.579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3662, allocations: 0 / 0.579 GB, free: 1.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005269/0.3667, allocations: 144 kB / 0.5792 GB, free: 1.809 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.3669, allocations: 127.6 kB / 0.5793 GB, free: 1.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006943/0.3676, allocations: 431.6 kB / 0.5797 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3676, allocations: 0 / 0.5797 GB, free: 1.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000318/0.3679, allocations: 223.4 kB / 0.5799 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.3688, allocations: 132.9 kB / 0.58 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.3714, allocations: 1.661 MB / 0.5817 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.3717, allocations: 246 kB / 0.5819 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001879/0.3719, allocations: 60.64 kB / 0.582 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.372, allocations: 43.44 kB / 0.582 GB, free: 14.81 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.372, allocations: 0 / 0.582 GB, free: 14.81 MB / 430.1 MB Notification: Performance of Templates: time 0.01221/0.3842, allocations: 6.189 MB / 0.588 GB, free: 8.734 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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.162180857005296]