Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001965/0.001965, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.002245/0.002245, allocations: 209.5 kB / 25.13 MB, free: 3.586 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.488/1.488, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2217/0.2217, allocations: 46.94 MB / 362.1 MB, free: 4.219 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 79.86 kB / 0.4978 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 66.09 MB / 0.5623 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004693/0.3623, allocations: 3.278 MB / 0.5655 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3638, allocations: 0.8333 MB / 0.5663 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.364, allocations: 15.88 kB / 0.5664 GB, free: 120 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.3642, allocations: 75.23 kB / 0.5664 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.3645, allocations: 178.6 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.3648, allocations: 111.8 kB / 0.5667 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.3654, allocations: 0.5907 MB / 0.5673 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002567/0.3657, allocations: 121.8 kB / 0.5674 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.3659, allocations: 231.2 kB / 0.5676 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3663, allocations: 250.9 kB / 0.5679 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.3663, allocations: 44 kB / 0.5679 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.3664, allocations: 47.94 kB / 0.5679 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-05/0.3665, allocations: 99.61 kB / 0.568 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.3668, allocations: 262.8 kB / 0.5683 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.3674, allocations: 0.5744 MB / 0.5688 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3674, allocations: 0 / 0.5688 GB, free: 13.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3674, allocations: 0 / 0.5688 GB, free: 13.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3674, allocations: 0 / 0.5688 GB, free: 13.55 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.001126/0.3686, allocations: 0.696 MB / 0.5695 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3686, allocations: 12.03 kB / 0.5695 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.3687, allocations: 60.61 kB / 0.5696 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.3692, allocations: 268.7 kB / 0.5699 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.3692, allocations: 37.38 kB / 0.5699 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.442e-05/0.3693, allocations: 56.33 kB / 0.5699 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.37, allocations: 438.9 kB / 0.5704 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.37, allocations: 11.94 kB / 0.5704 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.3701, allocations: 23.98 kB / 0.5704 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3701, allocations: 12 kB / 0.5704 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005159/0.3706, allocations: 312.5 kB / 0.5707 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.3723, allocations: 1.1 MB / 0.5718 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006859/0.3729, allocations: 380 kB / 0.5721 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.3732, allocations: 191.9 kB / 0.5723 GB, free: 9.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3733, allocations: 8.422 kB / 0.5723 GB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.3733, allocations: 39 kB / 0.5724 GB, free: 9.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 1.613e-06/0.3733, allocations: 0 / 0.5724 GB, free: 9.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.002854/0.3762, allocations: 1.846 MB / 0.5742 GB, free: 7.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/0.3762, allocations: 85.61 kB / 0.5743 GB, free: 7.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.3765, allocations: 264.1 kB / 0.5745 GB, free: 7.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.3765, allocations: 41.7 kB / 0.5745 GB, free: 7.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3767, allocations: 209.4 kB / 0.5747 GB, free: 7.227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.377, allocations: 281.6 kB / 0.575 GB, free: 6.949 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3771, allocations: 122.6 kB / 0.5751 GB, free: 6.824 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3773, allocations: 366.7 kB / 0.5755 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.3776, allocations: 153.9 kB / 0.5756 GB, free: 6.305 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003519/0.3779, allocations: 276.9 kB / 0.5759 GB, free: 5.996 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.3786, allocations: 470.6 kB / 0.5763 GB, free: 5.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3786, allocations: 0 / 0.5763 GB, free: 5.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008588/0.3794, allocations: 0.5671 MB / 0.5769 GB, free: 4.926 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3795, allocations: 8 kB / 0.5769 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3795, allocations: 4 kB / 0.5769 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.3795, allocations: 4 kB / 0.5769 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/0.38, allocations: 175.8 kB / 0.5771 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.3801, allocations: 11.94 kB / 0.5771 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.3803, allocations: 28.27 kB / 0.5771 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3803, allocations: 27.94 kB / 0.5771 GB, free: 4.672 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.0001945/0.3805, allocations: 181.7 kB / 0.5773 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.3806, allocations: 43.72 kB / 0.5774 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.3807, allocations: 59.64 kB / 0.5774 GB, free: 4.379 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.3807, allocations: 8.062 kB / 0.5774 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.3808, allocations: 4 kB / 0.5774 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.3808, allocations: 3.984 kB / 0.5774 GB, free: 4.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.3827, allocations: 1.415 MB / 0.5788 GB, free: 2.844 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3827, allocations: 4 kB / 0.5788 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006118/0.3834, allocations: 155.8 kB / 0.579 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.3834, allocations: 8 kB / 0.579 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.3834, allocations: 23.94 kB / 0.579 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.3834, allocations: 4 kB / 0.579 GB, free: 2.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3834, allocations: 4 kB / 0.579 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.3845, allocations: 0.9208 MB / 0.5799 GB, free: 1.684 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.073e-05/0.3846, allocations: 43.72 kB / 0.5799 GB, free: 1.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.3847, allocations: 19.94 kB / 0.58 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.3849, allocations: 23.98 kB / 0.58 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/0.385, allocations: 44.36 kB / 0.58 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.385, allocations: 20 kB / 0.58 GB, free: 1.531 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001834/0.3852, allocations: 187 kB / 0.5802 GB, free: 1.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3852, allocations: 0 / 0.5802 GB, free: 1.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005059/0.3857, allocations: 144 kB / 0.5804 GB, free: 1.207 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.0001331/0.3859, allocations: 123.1 kB / 0.5805 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007097/0.3866, allocations: 431.6 kB / 0.5809 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3866, allocations: 11.81 kB / 0.5809 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.3869, allocations: 223.3 kB / 0.5811 GB, free: 440 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.3877, allocations: 135.7 kB / 0.5812 GB, free: 308 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.3903, allocations: 1.669 MB / 0.5829 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.3909, allocations: 0.8484 MB / 0.5837 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001908/0.3911, allocations: 56.66 kB / 0.5838 GB, free: 13.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3912, allocations: 43.44 kB / 0.5838 GB, free: 13.59 MB / 430.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3912, allocations: 4 kB / 0.5838 GB, free: 13.59 MB / 430.1 MB Notification: Performance of Templates: time 0.01229/0.4035, allocations: 5.847 MB / 0.5895 GB, free: 7.801 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.24196298699826]