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.001112/0.001112, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.002973, allocations: 449.8 kB / 10.44 MB, free: 252 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.001101/0.001101, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.002507, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.955/0.955, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.3032/0.3032, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02786/0.3311, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 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 1.573e-06/1.573e-06, allocations: 0 / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.276e-05/1.434e-05, allocations: 3.719 kB / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003571/0.003585, allocations: 3.303 MB / 296.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005038, allocations: 0.8573 MB / 297 MB, free: 2.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.005228, allocations: 15.88 kB / 297 MB, free: 2.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001446/0.005373, allocations: 75.17 kB / 297.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.005674, allocations: 186.4 kB / 297.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.005861, allocations: 111.8 kB / 297.4 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005034/0.006364, allocations: 0.6223 MB / 298 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.006573, allocations: 118.5 kB / 298.1 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004144/0.006988, allocations: 384.3 kB / 298.5 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.007233, allocations: 175.5 kB / 298.6 MB, free: 372 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.007295, allocations: 40 kB / 298.7 MB, free: 332 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.00737, allocations: 48 kB / 298.7 MB, free: 284 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.007438, allocations: 75.69 kB / 298.8 MB, free: 208 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.007592, allocations: 159.8 kB / 299 MB, free: 48 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.008012, allocations: 358.7 kB / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.008025, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.008026, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.00804, allocations: 0 / 299.3 MB, free: 15.69 MB / 298.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.0008879/0.008928, allocations: 0.7775 MB / 300.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.008963, allocations: 8.031 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.462e-05/0.009058, allocations: 76.88 kB / 300.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.009358, allocations: 232.5 kB / 300.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.009388, allocations: 37.38 kB / 300.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.009456, allocations: 56.31 kB / 300.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.009808, allocations: 335 kB / 300.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.00983, allocations: 8.141 kB / 300.8 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.009857, allocations: 20.38 kB / 300.8 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.009871, allocations: 19.94 kB / 300.9 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001927/0.01006, allocations: 143.6 kB / 301 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.01103, allocations: 0.7572 MB / 301.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00037/0.0114, allocations: 273.9 kB / 302 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.01153, allocations: 111.2 kB / 302.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.01155, allocations: 8.5 kB / 302.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.01157, allocations: 43.28 kB / 302.2 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.01158, allocations: 3.938 kB / 302.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001757/0.01333, allocations: 1.451 MB / 303.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.01338, allocations: 93.61 kB / 303.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.01352, allocations: 224.9 kB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.01355, allocations: 37.7 kB / 304 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/0.01365, allocations: 193.8 kB / 304.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.01381, allocations: 285.5 kB / 304.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.01393, allocations: 126.6 kB / 304.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.01404, allocations: 358.7 kB / 304.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.01413, allocations: 61.97 kB / 305 MB, free: 9.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.01429, allocations: 192.8 kB / 305.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.01462, allocations: 327.9 kB / 305.5 MB, free: 9.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.01462, allocations: 4 kB / 305.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003841/0.015, allocations: 360 kB / 305.9 MB, free: 8.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01502, allocations: 8 kB / 305.9 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.01503, allocations: 7.984 kB / 305.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.01505, allocations: 4.062 kB / 305.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/0.0159, allocations: 221.2 kB / 306.1 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.01591, allocations: 11.94 kB / 306.1 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.01608, allocations: 28.17 kB / 306.1 MB, free: 8.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.0161, allocations: 20 kB / 306.2 MB, free: 8.508 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.0001173/0.01622, allocations: 149.7 kB / 306.3 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.0163, allocations: 51.95 kB / 306.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.313e-05/0.01637, allocations: 55.61 kB / 306.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.01638, allocations: 8 kB / 306.4 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.01638, allocations: 4 kB / 306.4 MB, free: 8.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.01639, allocations: 3.984 kB / 306.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.01743, allocations: 0.9587 MB / 307.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01744, allocations: 0 / 307.4 MB, free: 7.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.01794, allocations: 201.5 kB / 307.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.01798, allocations: 39.72 kB / 307.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.964e-06/0.01799, allocations: 7.938 kB / 307.6 MB, free: 6.957 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.01802, allocations: 20 kB / 307.6 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.01803, allocations: 8 kB / 307.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.01803, allocations: 3.938 kB / 307.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000536/0.01857, allocations: 0.6514 MB / 308.3 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.01861, allocations: 27.94 kB / 308.3 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.0188, allocations: 16 kB / 308.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.01886, allocations: 48.41 kB / 308.4 MB, free: 6.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.01888, allocations: 16 kB / 308.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.844e-05/0.01894, allocations: 82.7 kB / 308.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01894, allocations: 0 / 308.5 MB, free: 6.043 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003999/0.01934, allocations: 140 kB / 308.6 MB, free: 5.906 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.0001075/0.01945, allocations: 104.3 kB / 308.7 MB, free: 5.797 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003549/0.01981, allocations: 327.5 kB / 309.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/0.01982, allocations: 8 kB / 309.1 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.02004, allocations: 207.1 kB / 309.3 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.02105, allocations: 1.342 MB / 310.6 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007425/0.02848, allocations: 1.061 MB / 311.7 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.02859, allocations: 139.2 kB / 311.8 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000166/0.02875, allocations: 56.7 kB / 311.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.02897, allocations: 173.3 kB / 312 MB, free: 2.141 MB / 298.7 MB Notification: Performance of SimCode: time 1.021e-06/0.02897, allocations: 0 / 312 MB, free: 2.141 MB / 298.7 MB Notification: Performance of Templates: time 0.008026/0.037, allocations: 6.157 MB / 318.2 MB, free: 12.16 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/SpringDamper/SpringDamper.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0428500091657043]