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.001593/0.001593, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001756/0.001756, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.529/1.529, allocations: 230.6 MB / 258.3 MB, free: 8.238 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.2205/0.2205, allocations: 44.91 MB / 359.6 MB, free: 6.324 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.002079/0.002079, allocations: 71.88 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 65.46 MB / 0.5582 GB, free: 7.707 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.00473/0.3039, allocations: 3.321 MB / 0.5615 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.3056, allocations: 0.8372 MB / 0.5623 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.3058, allocations: 11.88 kB / 0.5623 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.306, allocations: 71.23 kB / 0.5624 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.3063, allocations: 178.5 kB / 0.5625 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.3066, allocations: 115.8 kB / 0.5627 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.3072, allocations: 0.5908 MB / 0.5632 GB, free: 2.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.3075, allocations: 121.8 kB / 0.5633 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3077, allocations: 235.2 kB / 0.5636 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.3081, allocations: 238.9 kB / 0.5638 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.3081, allocations: 44 kB / 0.5638 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.3082, allocations: 44 kB / 0.5639 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.019e-05/0.3083, allocations: 103.6 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3085, allocations: 274.7 kB / 0.5642 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.3091, allocations: 0.5587 MB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3091, allocations: 4 kB / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3091, allocations: 0 / 0.5648 GB, free: 1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.3092, allocations: 0 / 0.5648 GB, free: 1 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.001096/0.3103, allocations: 0.6999 MB / 0.5655 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3103, allocations: 8.031 kB / 0.5655 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/0.3104, allocations: 56.61 kB / 0.5655 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.3108, allocations: 260.8 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.3109, allocations: 37.38 kB / 0.5658 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.311, allocations: 52.33 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.3117, allocations: 442.9 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.3117, allocations: 11.95 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.3117, allocations: 19.83 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.3117, allocations: 15.98 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.3123, allocations: 316.5 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.314, allocations: 1.107 MB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007174/0.3147, allocations: 388 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.315, allocations: 186.9 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.315, allocations: 8.438 kB / 0.5683 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.3151, allocations: 47.02 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.255e-06/0.3151, allocations: 0 / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=74): time 0.003049/0.3181, allocations: 1.843 MB / 0.5701 GB, free: 11.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.3182, allocations: 85.61 kB / 0.5702 GB, free: 11.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3185, allocations: 252.2 kB / 0.5704 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.3185, allocations: 37.69 kB / 0.5705 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.3187, allocations: 209.4 kB / 0.5707 GB, free: 10.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3189, allocations: 285.5 kB / 0.571 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3191, allocations: 130.6 kB / 0.5711 GB, free: 10.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.3193, allocations: 358.7 kB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.3195, allocations: 161.9 kB / 0.5716 GB, free: 9.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.3199, allocations: 272.9 kB / 0.5718 GB, free: 9.445 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3206, allocations: 471.8 kB / 0.5723 GB, free: 8.953 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3206, allocations: 4 kB / 0.5723 GB, free: 8.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00085/0.3214, allocations: 0.5671 MB / 0.5728 GB, free: 8.375 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.3214, allocations: 16.22 kB / 0.5729 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.3214, allocations: 0 / 0.5729 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.3215, allocations: 8 kB / 0.5729 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.322, allocations: 171.8 kB / 0.573 GB, free: 8.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3221, allocations: 11.94 kB / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.3223, allocations: 23.98 kB / 0.5731 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.935e-05/0.3224, allocations: 31.94 kB / 0.5731 GB, free: 8.117 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.0002017/0.3226, allocations: 174.2 kB / 0.5733 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3227, allocations: 51.72 kB / 0.5733 GB, free: 7.887 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.3228, allocations: 55.64 kB / 0.5734 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3228, allocations: 8 kB / 0.5734 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3228, allocations: 0 / 0.5734 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.3228, allocations: 7.969 kB / 0.5734 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.3248, allocations: 1.416 MB / 0.5748 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3248, allocations: 4 kB / 0.5748 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.3255, allocations: 163.7 kB / 0.5749 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.3255, allocations: 4 kB / 0.5749 GB, free: 6.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.3255, allocations: 23.94 kB / 0.575 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3255, allocations: 4 kB / 0.575 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.3255, allocations: 4 kB / 0.575 GB, free: 6.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.3267, allocations: 0.9205 MB / 0.5759 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-05/0.3267, allocations: 39.7 kB / 0.5759 GB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.3268, allocations: 27.88 kB / 0.5759 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/0.3271, allocations: 19.98 kB / 0.5759 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.3271, allocations: 48.36 kB / 0.576 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.3272, allocations: 24 kB / 0.576 GB, free: 4.953 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.3273, allocations: 179 kB / 0.5762 GB, free: 4.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3273, allocations: 0 / 0.5762 GB, free: 4.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005309/0.3279, allocations: 148 kB / 0.5763 GB, free: 4.637 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.0001422/0.328, allocations: 119.1 kB / 0.5764 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007175/0.3287, allocations: 431.8 kB / 0.5768 GB, free: 4.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.3287, allocations: 4 kB / 0.5769 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003202/0.329, allocations: 226.2 kB / 0.5771 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.3299, allocations: 135.8 kB / 0.5772 GB, free: 3.742 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.3326, allocations: 1.706 MB / 0.5789 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005171/0.3331, allocations: 0.8484 MB / 0.5797 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3332, allocations: 47.44 kB / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3332, allocations: 0 / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of Templates: time 0.009664/0.3429, allocations: 6.066 MB / 0.5857 GB, free: 11 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","/var/lib/jenkins1/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: 8.480709418887272]