Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001869/0.001869, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002319/0.002319, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 230.3 MB / 257.9 MB, free: 8.258 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.88 MB / 361.3 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 79.86 kB / 0.497 GB, free: 7.598 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3339, allocations: 66.02 MB / 0.5615 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004493/0.3384, allocations: 3.307 MB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3397, allocations: 0.8411 MB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3399, allocations: 11.94 kB / 0.5656 GB, free: 468 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.3401, allocations: 79.17 kB / 0.5657 GB, free: 388 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3404, allocations: 170.5 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3406, allocations: 111.8 kB / 0.5659 GB, free: 104 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.3412, allocations: 0.6024 MB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.3414, allocations: 121.8 kB / 0.5666 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.3417, allocations: 235.3 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3419, allocations: 238.9 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.834e-05/0.342, allocations: 44 kB / 0.5671 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.3421, allocations: 44 kB / 0.5672 GB, free: 14.82 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.356e-05/0.3422, allocations: 95.67 kB / 0.5673 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3424, allocations: 266.7 kB / 0.5675 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005821/0.343, allocations: 0.5705 MB / 0.5681 GB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.343, allocations: 4 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.343, allocations: 3.938 kB / 0.5681 GB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.343, allocations: 0 / 0.5681 GB, free: 13.89 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.001095/0.3441, allocations: 0.6882 MB / 0.5688 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3442, allocations: 12.03 kB / 0.5688 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.3442, allocations: 56.61 kB / 0.5688 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.3447, allocations: 268.7 kB / 0.5691 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.3447, allocations: 29.38 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/0.3448, allocations: 64.31 kB / 0.5692 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.3455, allocations: 434.9 kB / 0.5696 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.3455, allocations: 15.94 kB / 0.5696 GB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.686e-05/0.3455, allocations: 20 kB / 0.5696 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.3456, allocations: 12 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.3461, allocations: 316.5 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.3477, allocations: 1.107 MB / 0.571 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.3484, allocations: 385.3 kB / 0.5714 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.3487, allocations: 191 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.3487, allocations: 4.438 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3488, allocations: 39 kB / 0.5716 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.653e-06/0.3488, allocations: 4.031 kB / 0.5716 GB, free: 10.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002798/0.3516, allocations: 1.844 MB / 0.5734 GB, free: 8.195 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3516, allocations: 89.55 kB / 0.5735 GB, free: 8.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.3519, allocations: 260.2 kB / 0.5737 GB, free: 7.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3519, allocations: 37.7 kB / 0.5738 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.352, allocations: 221.3 kB / 0.574 GB, free: 7.559 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/0.3522, allocations: 277.5 kB / 0.5742 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3524, allocations: 122.6 kB / 0.5744 GB, free: 7.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3526, allocations: 362.7 kB / 0.5747 GB, free: 6.797 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3528, allocations: 157.9 kB / 0.5749 GB, free: 6.641 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3532, allocations: 268.9 kB / 0.5751 GB, free: 6.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.3538, allocations: 478.6 kB / 0.5756 GB, free: 5.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3538, allocations: 0 / 0.5756 GB, free: 5.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008067/0.3546, allocations: 0.5671 MB / 0.5761 GB, free: 5.266 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3546, allocations: 8 kB / 0.5761 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3546, allocations: 4 kB / 0.5761 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.3547, allocations: 4.281 kB / 0.5761 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005805/0.3552, allocations: 179.7 kB / 0.5763 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.3552, allocations: 11.98 kB / 0.5763 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.3555, allocations: 24 kB / 0.5763 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.3555, allocations: 27.94 kB / 0.5764 GB, free: 5.012 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.0001869/0.3557, allocations: 178.2 kB / 0.5765 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.3558, allocations: 43.72 kB / 0.5766 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3559, allocations: 63.64 kB / 0.5766 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.3559, allocations: 8 kB / 0.5767 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3559, allocations: 0 / 0.5767 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.3559, allocations: 7.984 kB / 0.5767 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.3579, allocations: 1.412 MB / 0.578 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.3579, allocations: 4 kB / 0.578 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000615/0.3585, allocations: 156.1 kB / 0.5782 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.3585, allocations: 12 kB / 0.5782 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.3585, allocations: 19.94 kB / 0.5782 GB, free: 3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3586, allocations: 8 kB / 0.5782 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.3586, allocations: 7.938 kB / 0.5782 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.3597, allocations: 0.9127 MB / 0.5791 GB, free: 2.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.3598, allocations: 47.72 kB / 0.5792 GB, free: 1.977 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.3599, allocations: 19.94 kB / 0.5792 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.3602, allocations: 28.05 kB / 0.5792 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.3602, allocations: 40.36 kB / 0.5793 GB, free: 1.887 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.3602, allocations: 23.98 kB / 0.5793 GB, free: 1.863 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.3604, allocations: 183 kB / 0.5795 GB, free: 1.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3604, allocations: 4 kB / 0.5795 GB, free: 1.684 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004849/0.3609, allocations: 147.9 kB / 0.5796 GB, free: 1.539 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.0001375/0.361, allocations: 119.1 kB / 0.5797 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006758/0.3617, allocations: 436.3 kB / 0.5801 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3617, allocations: 0.5625 kB / 0.5801 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.362, allocations: 226.2 kB / 0.5804 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008218/0.3629, allocations: 121.9 kB / 0.5805 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.3654, allocations: 1.677 MB / 0.5821 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000469/0.3659, allocations: 0.8484 MB / 0.5829 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001867/0.366, allocations: 56.66 kB / 0.583 GB, free: 13.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.3661, allocations: 43.44 kB / 0.583 GB, free: 13.93 MB / 430.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3661, allocations: 0 / 0.583 GB, free: 13.93 MB / 430.1 MB Notification: Performance of Templates: time 0.0125/0.3786, allocations: 5.838 MB / 0.5887 GB, free: 8.148 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.506279489956796]