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.001352/0.001352, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002151/0.003503, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001272/0.001272, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00164/0.002911, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.124/1.124, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1392/1.263, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3746/0.3746, allocations: 32.81 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03718/0.4118, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.7 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: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 290.6 MB, free: 7.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.337e-05/3.551e-05, allocations: 3.078 kB / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004011/0.004047, allocations: 3.301 MB / 293.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.005424, allocations: 0.8604 MB / 294.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.005611, allocations: 11.88 kB / 294.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.005739, allocations: 79.22 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.006002, allocations: 194.3 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.006164, allocations: 103.8 kB / 295.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.006604, allocations: 0.6225 MB / 295.7 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.006829, allocations: 122.4 kB / 295.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003064/0.007136, allocations: 379.9 kB / 296.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001956/0.007332, allocations: 175.5 kB / 296.4 MB, free: 2.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/0.007387, allocations: 47.94 kB / 296.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.793e-05/0.007435, allocations: 44 kB / 296.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.934e-05/0.007494, allocations: 71.75 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.007631, allocations: 163.7 kB / 296.7 MB, free: 2.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.007988, allocations: 358.6 kB / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.225e-05/0.00801, allocations: 0 / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.008011, allocations: 0 / 297.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.353e-05/0.008035, allocations: 0 / 297.1 MB, free: 1.812 MB / 282.7 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.0008271/0.008862, allocations: 0.7847 MB / 297.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.008901, allocations: 12.03 kB / 297.9 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.331e-05/0.008984, allocations: 72.88 kB / 297.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.009256, allocations: 224.5 kB / 298.2 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.009282, allocations: 37.38 kB / 298.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.009337, allocations: 56.31 kB / 298.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.00964, allocations: 323.1 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.009663, allocations: 16.11 kB / 298.6 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.009686, allocations: 20.38 kB / 298.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.009701, allocations: 19.94 kB / 298.6 MB, free: 204 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.009861, allocations: 147.5 kB / 298.8 MB, free: 56 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009009/0.01076, allocations: 0.7573 MB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003588/0.01112, allocations: 269.9 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.01122, allocations: 113.8 kB / 299.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.01124, allocations: 16.44 kB / 299.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.01127, allocations: 43.06 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.973e-06/0.01127, allocations: 0 / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001484/0.01276, allocations: 1.41 MB / 301.4 MB, free: 13.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.01281, allocations: 89.55 kB / 301.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.01294, allocations: 240.9 kB / 301.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.01296, allocations: 37.7 kB / 301.7 MB, free: 12.92 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.288e-05/0.01304, allocations: 197.7 kB / 301.9 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.01318, allocations: 285.5 kB / 302.2 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.01327, allocations: 118.6 kB / 302.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01337, allocations: 358.7 kB / 302.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.79e-05/0.01344, allocations: 65.97 kB / 302.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.01356, allocations: 188.8 kB / 302.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.01379, allocations: 320.8 kB / 303.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.0138, allocations: 4 kB / 303.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002871/0.01408, allocations: 345.2 kB / 303.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.0141, allocations: 8 kB / 303.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.01411, allocations: 4 kB / 303.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.01412, allocations: 7.984 kB / 303.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.01453, allocations: 222.9 kB / 303.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01454, allocations: 11.94 kB / 303.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.01465, allocations: 32.17 kB / 303.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.017e-05/0.01467, allocations: 24 kB / 303.9 MB, free: 10.67 MB / 298.7 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.0001048/0.01478, allocations: 153.6 kB / 304 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.604e-05/0.01484, allocations: 55.95 kB / 304.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.529e-05/0.0149, allocations: 51.61 kB / 304.1 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.0149, allocations: 8 kB / 304.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.01491, allocations: 4 kB / 304.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.01492, allocations: 3.984 kB / 304.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008442/0.01576, allocations: 0.9549 MB / 305.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01576, allocations: 0 / 305.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.01616, allocations: 201.6 kB / 305.3 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.0162, allocations: 47.69 kB / 305.3 MB, free: 9.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.01621, allocations: 7.938 kB / 305.4 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.01623, allocations: 16 kB / 305.4 MB, free: 9.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/0.01624, allocations: 11.94 kB / 305.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01624, allocations: 0 / 305.4 MB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.01669, allocations: 0.6515 MB / 306 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.01672, allocations: 19.94 kB / 306.1 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.01685, allocations: 24 kB / 306.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.01689, allocations: 48.34 kB / 306.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01691, allocations: 19.94 kB / 306.1 MB, free: 8.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.948e-05/0.01696, allocations: 78.72 kB / 306.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01696, allocations: 0 / 306.2 MB, free: 8.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.01724, allocations: 144 kB / 306.4 MB, free: 8.059 MB / 298.7 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.0001184/0.01736, allocations: 104.8 kB / 306.5 MB, free: 7.949 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.01766, allocations: 308.2 kB / 306.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/0.01768, allocations: 8 kB / 306.8 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.0178, allocations: 176.8 kB / 306.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.01825, allocations: 192.3 kB / 307.1 MB, free: 7.297 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.02386, allocations: 1.066 MB / 308.2 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.572e-05/0.02395, allocations: 131.3 kB / 308.3 MB, free: 6.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.02409, allocations: 60.7 kB / 308.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.0243, allocations: 165.3 kB / 308.5 MB, free: 5.785 MB / 298.7 MB Notification: Performance of SimCode: time 1.503e-06/0.02431, allocations: 3.938 kB / 308.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of Templates: time 0.009342/0.03365, allocations: 6.428 MB / 315 MB, free: 15.53 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.534948934800923]