Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001723/0.001723, 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.002055/0.002055, allocations: 207.9 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.617/1.617, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 69.61 kB / 0.4935 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3581, allocations: 65.47 MB / 0.5574 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.005052/0.3632, allocations: 2.998 MB / 0.5604 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3649, allocations: 0.8061 MB / 0.5612 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.3651, allocations: 15.88 kB / 0.5612 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.3654, allocations: 71.23 kB / 0.5612 GB, free: 3.566 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000361/0.3657, allocations: 182.5 kB / 0.5614 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.366, allocations: 103.9 kB / 0.5615 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006408/0.3666, allocations: 0.6024 MB / 0.5621 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.3669, allocations: 109.8 kB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002823/0.3672, allocations: 231.2 kB / 0.5624 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.3675, allocations: 211 kB / 0.5626 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.455e-05/0.3676, allocations: 40 kB / 0.5627 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.923e-05/0.3676, allocations: 44 kB / 0.5627 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.3678, allocations: 107.6 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002764/0.368, allocations: 227 kB / 0.563 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.3687, allocations: 0.5626 MB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3687, allocations: 4 kB / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3687, allocations: 0 / 0.5636 GB, free: 1.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3687, allocations: 0 / 0.5636 GB, free: 1.16 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001175/0.3699, allocations: 0.6976 MB / 0.5643 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.37, allocations: 12.03 kB / 0.5643 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.3701, allocations: 56.61 kB / 0.5643 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005419/0.3706, allocations: 268.7 kB / 0.5646 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.3706, allocations: 33.38 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.3707, allocations: 60.55 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/0.3715, allocations: 438.7 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.3715, allocations: 7.953 kB / 0.5651 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.3716, allocations: 20 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3716, allocations: 15.94 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005632/0.3721, allocations: 316.4 kB / 0.5654 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.3738, allocations: 0.9326 MB / 0.5664 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007486/0.3745, allocations: 377 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.3748, allocations: 191 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3749, allocations: 8.438 kB / 0.5669 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.3749, allocations: 42.94 kB / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.215e-06/0.3749, allocations: 256 / 0.5669 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003266/0.3782, allocations: 1.841 MB / 0.5687 GB, free: 11.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.3783, allocations: 85.61 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.3785, allocations: 237.8 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.896e-05/0.3786, allocations: 37.7 kB / 0.5691 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3788, allocations: 217.3 kB / 0.5693 GB, free: 11.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002771/0.379, allocations: 285.5 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3792, allocations: 122.7 kB / 0.5697 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3794, allocations: 350.7 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.3797, allocations: 161.9 kB / 0.5702 GB, free: 10.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003945/0.3801, allocations: 276.8 kB / 0.5704 GB, free: 9.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/0.3808, allocations: 470.8 kB / 0.5709 GB, free: 9.324 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.3808, allocations: 4 kB / 0.5709 GB, free: 9.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009154/0.3817, allocations: 0.5632 MB / 0.5714 GB, free: 8.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3817, allocations: 4 kB / 0.5714 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.3817, allocations: 8.266 kB / 0.5714 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.3818, allocations: 12 kB / 0.5715 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006095/0.3824, allocations: 179.7 kB / 0.5716 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.3824, allocations: 7.938 kB / 0.5716 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.3827, allocations: 27.98 kB / 0.5717 GB, free: 8.516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.052e-05/0.3827, allocations: 28.05 kB / 0.5717 GB, free: 8.488 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.0002493/0.383, allocations: 181.5 kB / 0.5719 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.625e-05/0.3831, allocations: 51.7 kB / 0.5719 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.3832, allocations: 59.61 kB / 0.572 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.3832, allocations: 8 kB / 0.572 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.3832, allocations: 4 kB / 0.572 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.3832, allocations: 3.984 kB / 0.572 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.3853, allocations: 1.28 MB / 0.5732 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3853, allocations: 4 kB / 0.5732 GB, free: 6.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006332/0.3859, allocations: 155.8 kB / 0.5734 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.3859, allocations: 8 kB / 0.5734 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.386, allocations: 19.98 kB / 0.5734 GB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.386, allocations: 7.938 kB / 0.5734 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.386, allocations: 7.938 kB / 0.5734 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.3872, allocations: 0.9127 MB / 0.5743 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.3873, allocations: 47.89 kB / 0.5744 GB, free: 5.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.3874, allocations: 20 kB / 0.5744 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3877, allocations: 19.94 kB / 0.5744 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.3878, allocations: 56.28 kB / 0.5745 GB, free: 5.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3878, allocations: 20 kB / 0.5745 GB, free: 5.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001714/0.388, allocations: 161.2 kB / 0.5746 GB, free: 5.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.388, allocations: 0 / 0.5746 GB, free: 5.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005925/0.3886, allocations: 148 kB / 0.5748 GB, free: 5.176 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.0001965/0.3888, allocations: 131.6 kB / 0.5749 GB, free: 5.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.3896, allocations: 431.5 kB / 0.5753 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3896, allocations: 0 / 0.5753 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.3899, allocations: 223.3 kB / 0.5755 GB, free: 4.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.3907, allocations: 136.1 kB / 0.5757 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.3935, allocations: 1.661 MB / 0.5773 GB, free: 2.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3938, allocations: 250 kB / 0.5775 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.394, allocations: 56.66 kB / 0.5776 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.3941, allocations: 39.44 kB / 0.5776 GB, free: 2.191 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3941, allocations: 0 / 0.5776 GB, free: 2.191 MB / 414.1 MB Notification: Performance of Templates: time 0.01264/0.4067, allocations: 5.995 MB / 0.5835 GB, free: 12.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.572316871955991]