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.001639/0.001639, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001992/0.001992, allocations: 205.2 kB / 24.49 MB, free: 3.965 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.449/1.449, allocations: 230.6 MB / 258.3 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.2204/0.2204, allocations: 46.95 MB / 361.6 MB, free: 4.023 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.001967/0.001967, allocations: 71.88 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3468, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004494/0.3513, allocations: 3.008 MB / 0.5647 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.3527, allocations: 0.806 MB / 0.5655 GB, free: 336 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.3529, allocations: 15.88 kB / 0.5655 GB, free: 320 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.3531, allocations: 71.25 kB / 0.5656 GB, free: 248 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.3534, allocations: 178.5 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3536, allocations: 103.9 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.3542, allocations: 0.6023 MB / 0.5665 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.3545, allocations: 121.8 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.3548, allocations: 223.3 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003067/0.3551, allocations: 250.9 kB / 0.567 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.3552, allocations: 44 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.3553, allocations: 48 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.954e-05/0.3553, allocations: 99.62 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002215/0.3556, allocations: 223 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006043/0.3562, allocations: 0.5665 MB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3562, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3562, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.3562, allocations: 0 / 0.568 GB, free: 13.8 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.001145/0.3573, allocations: 0.6999 MB / 0.5687 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3574, allocations: 12.02 kB / 0.5687 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3575, allocations: 56.61 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/0.3579, allocations: 264.7 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.435e-05/0.358, allocations: 33.38 kB / 0.569 GB, free: 12.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.988e-05/0.358, allocations: 60.33 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007347/0.3588, allocations: 438.9 kB / 0.5695 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3588, allocations: 7.953 kB / 0.5695 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.3589, allocations: 23.94 kB / 0.5695 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/0.3589, allocations: 15.98 kB / 0.5695 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.3594, allocations: 312.4 kB / 0.5698 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.361, allocations: 0.9326 MB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.3617, allocations: 377.1 kB / 0.5711 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.362, allocations: 191 kB / 0.5713 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.3621, allocations: 8.656 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.3621, allocations: 50.86 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.984e-06/0.3621, allocations: 0 / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003088/0.3652, allocations: 1.837 MB / 0.5731 GB, free: 8.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.3653, allocations: 89.61 kB / 0.5732 GB, free: 8.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3655, allocations: 237.8 kB / 0.5735 GB, free: 7.934 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3656, allocations: 37.7 kB / 0.5735 GB, free: 7.891 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.3657, allocations: 213.3 kB / 0.5737 GB, free: 7.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.366, allocations: 281.5 kB / 0.574 GB, free: 7.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.3661, allocations: 118.7 kB / 0.5741 GB, free: 7.277 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.3663, allocations: 358.7 kB / 0.5744 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.3666, allocations: 157.9 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.367, allocations: 268.9 kB / 0.5748 GB, free: 6.469 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.3677, allocations: 483.8 kB / 0.5753 GB, free: 5.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3677, allocations: 0 / 0.5753 GB, free: 5.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008694/0.3686, allocations: 0.5749 MB / 0.5759 GB, free: 5.379 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3686, allocations: 4 kB / 0.5759 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3686, allocations: 7.984 kB / 0.5759 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3686, allocations: 8 kB / 0.5759 GB, free: 5.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006256/0.3693, allocations: 179.7 kB / 0.576 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.3693, allocations: 7.984 kB / 0.5761 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.3695, allocations: 24.28 kB / 0.5761 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.3696, allocations: 32 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.0002057/0.3698, allocations: 181.5 kB / 0.5763 GB, free: 4.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.3699, allocations: 47.72 kB / 0.5763 GB, free: 4.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.37, allocations: 55.61 kB / 0.5764 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.37, allocations: 7.984 kB / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.37, allocations: 0 / 0.5764 GB, free: 4.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.3701, allocations: 39.7 kB / 0.5764 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.3701, allocations: 16 kB / 0.5764 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.3704, allocations: 15.94 kB / 0.5765 GB, free: 4.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.862e-05/0.3704, allocations: 48.41 kB / 0.5765 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001303/0.3717, allocations: 0.703 MB / 0.5772 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001167/0.3729, allocations: 0.9275 MB / 0.5781 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002954/0.3732, allocations: 195.8 kB / 0.5783 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3734, allocations: 169.2 kB / 0.5784 GB, free: 2.695 MB / 414.1 MB Notification: Performance of Backend: time 3.81e-07/0.3734, allocations: 4 kB / 0.5784 GB, free: 2.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.3742, allocations: 358 kB / 0.5788 GB, free: 2.34 MB / 414.1 MB Notification: Performance of SimCode: time 0.002784/0.377, allocations: 1.999 MB / 0.5807 GB, free: 300 kB / 414.1 MB Notification: Performance of Templates: time 0.01382/0.3908, allocations: 7.383 MB / 0.5879 GB, free: 9.023 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 -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.355773450995912]