Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009417/0.0009417, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001351/0.002293, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008916/0.0008916, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.002045, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9045/0.9045, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1728/1.077, allocations: 49.49 MB / 220.5 MB, free: 5.266 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1381/0.1381, allocations: 32.34 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02203/0.1602, allocations: 12.3 MB / 265.9 MB, free: 7.816 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 3.938 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.843e-05/1.973e-05, allocations: 2.312 kB / 267.2 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004412/0.004432, allocations: 3.278 MB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.006331, allocations: 0.8769 MB / 271.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.006594, allocations: 19.88 kB / 271.4 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.006726, allocations: 75.19 kB / 271.4 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.007011, allocations: 182.4 kB / 271.6 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.007177, allocations: 103.8 kB / 271.7 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.007622, allocations: 0.6218 MB / 272.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.007816, allocations: 126.5 kB / 272.5 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003782/0.008194, allocations: 375.8 kB / 272.8 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.008362, allocations: 175.5 kB / 273 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.008407, allocations: 44 kB / 273.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.649e-05/0.008453, allocations: 44 kB / 273.1 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.0085, allocations: 79.69 kB / 273.2 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.008621, allocations: 163.7 kB / 273.3 MB, free: 368 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005459/0.009167, allocations: 350.7 kB / 273.7 MB, free: 16 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/0.009181, allocations: 0 / 273.7 MB, free: 16 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.009182, allocations: 0 / 273.7 MB, free: 16 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.009197, allocations: 4 kB / 273.7 MB, free: 12 kB / 266.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.0006981/0.009895, allocations: 0.7801 MB / 274.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.009925, allocations: 16.02 kB / 274.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.009997, allocations: 68.89 kB / 274.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.01024, allocations: 228.5 kB / 274.8 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.01027, allocations: 37.38 kB / 274.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.01032, allocations: 60.27 kB / 274.9 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.01059, allocations: 331 kB / 275.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.01061, allocations: 8.141 kB / 275.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01063, allocations: 20.38 kB / 275.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.01064, allocations: 19.92 kB / 275.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.01079, allocations: 147.6 kB / 275.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000813/0.0116, allocations: 0.7572 MB / 276.1 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.01194, allocations: 281.1 kB / 276.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.01204, allocations: 107.2 kB / 276.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.01205, allocations: 12.5 kB / 276.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01207, allocations: 39.06 kB / 276.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of pre-optimization done (n=62): time 2.004e-06/0.01208, allocations: 0 / 276.6 MB, free: 13.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=74): time 0.001375/0.01345, allocations: 1.429 MB / 278 MB, free: 11.49 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.01349, allocations: 85.61 kB / 278.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.0136, allocations: 228.9 kB / 278.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.01362, allocations: 37.7 kB / 278.3 MB, free: 11.11 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.732e-05/0.0137, allocations: 197.8 kB / 278.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.01382, allocations: 289.5 kB / 278.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.698e-05/0.0139, allocations: 122.6 kB / 278.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.566e-05/0.01399, allocations: 354.7 kB / 279.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.994e-05/0.01405, allocations: 65.95 kB / 279.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01416, allocations: 180.8 kB / 279.5 MB, free: 9.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.01438, allocations: 335.6 kB / 279.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.01439, allocations: 0 / 279.8 MB, free: 9.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002878/0.01467, allocations: 360.9 kB / 280.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.01469, allocations: 4 kB / 280.2 MB, free: 9.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.01469, allocations: 12.2 kB / 280.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.01471, allocations: 12 kB / 280.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003965/0.0151, allocations: 215.8 kB / 280.4 MB, free: 8.902 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.01511, allocations: 4 kB / 280.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01522, allocations: 27.98 kB / 280.5 MB, free: 8.871 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.01523, allocations: 23.94 kB / 280.5 MB, free: 8.848 MB / 282.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.0001053/0.01534, allocations: 149.7 kB / 280.6 MB, free: 8.691 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.01539, allocations: 55.95 kB / 280.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.01545, allocations: 55.61 kB / 280.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01546, allocations: 8 kB / 280.8 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.01546, allocations: 0 / 280.8 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01547, allocations: 3.984 kB / 280.8 MB, free: 8.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008534/0.01632, allocations: 0.9587 MB / 281.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.01633, allocations: 4 kB / 281.7 MB, free: 7.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.01683, allocations: 207.6 kB / 281.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.01688, allocations: 31.77 kB / 282 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.01688, allocations: 12.28 kB / 282 MB, free: 7.289 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.0169, allocations: 16 kB / 282 MB, free: 7.273 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01691, allocations: 8 kB / 282 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.01691, allocations: 7.984 kB / 282 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.01732, allocations: 0.6476 MB / 282.6 MB, free: 6.562 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.01734, allocations: 19.94 kB / 282.7 MB, free: 6.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.01747, allocations: 16 kB / 282.7 MB, free: 6.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.0175, allocations: 52.34 kB / 282.7 MB, free: 6.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.01752, allocations: 20 kB / 282.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.394e-05/0.01757, allocations: 82.7 kB / 282.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01757, allocations: 0 / 282.8 MB, free: 6.371 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002748/0.01784, allocations: 144 kB / 283 MB, free: 6.23 MB / 282.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 9.032e-05/0.01793, allocations: 108.2 kB / 283.1 MB, free: 6.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002615/0.0182, allocations: 307.5 kB / 283.4 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.01821, allocations: 8 kB / 283.4 MB, free: 5.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.01833, allocations: 184.7 kB / 283.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.01886, allocations: 177.8 kB / 283.7 MB, free: 5.457 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.02468, allocations: 1.067 MB / 284.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.02479, allocations: 131.3 kB / 284.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.02498, allocations: 56.7 kB / 285 MB, free: 4.117 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.0252, allocations: 173.3 kB / 285.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of SimCode: time 2.745e-06/0.0252, allocations: 0 / 285.2 MB, free: 3.945 MB / 282.7 MB Notification: Performance of Templates: time 0.008872/0.03407, allocations: 6.425 MB / 291.6 MB, free: 13.51 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 2.8893328150734305]