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.001881/0.001881, allocations: 92.97 kB / 20.21 MB, free: 4.215 MB / 18.57 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.002004/0.002004, allocations: 169.6 kB / 23.53 MB, free: 0.8984 MB / 18.57 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 1.446/1.446, allocations: 158.6 MB / 185.3 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.1992/0.1992, allocations: 32.37 MB / 270 MB, free: 14.76 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 2.044e-06/2.044e-06, allocations: 0 / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.884e-05, allocations: 6.25 kB / 346.9 MB, free: 9.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003533/0.003562, allocations: 3.24 MB / 350.2 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004933, allocations: 0.8266 MB / 351 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.005139, allocations: 11.88 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.005331, allocations: 75.23 kB / 351.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.005601, allocations: 190.4 kB / 351.3 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.005833, allocations: 111.7 kB / 351.4 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.006215, allocations: 0.6217 MB / 352 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001981/0.006413, allocations: 113.9 kB / 352.1 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.006686, allocations: 343.3 kB / 352.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.006899, allocations: 183.5 kB / 352.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.098e-05/0.00695, allocations: 40 kB / 352.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.165e-05/0.007021, allocations: 44 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.007078, allocations: 107.6 kB / 352.8 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.007219, allocations: 187.6 kB / 353 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000395/0.007614, allocations: 0.5723 MB / 353.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.007618, allocations: 0 / 353.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.007619, allocations: 0 / 353.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.007627, allocations: 0 / 353.6 MB, free: 3.133 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.0009179/0.008545, allocations: 0.8267 MB / 354.4 MB, free: 2.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.008584, allocations: 8.031 kB / 354.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.008716, allocations: 92.61 kB / 354.5 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.009033, allocations: 275.2 kB / 354.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.009058, allocations: 29.38 kB / 354.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.726e-05/0.009125, allocations: 60.33 kB / 354.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.009675, allocations: 444.8 kB / 355.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.009704, allocations: 16.14 kB / 355.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.009736, allocations: 24.38 kB / 355.3 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.009747, allocations: 15.94 kB / 355.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.01015, allocations: 300.4 kB / 355.6 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.01167, allocations: 1.138 MB / 356.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.0125, allocations: 410 kB / 357.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.01285, allocations: 189 kB / 357.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.01289, allocations: 24.45 kB / 357.4 MB, free: 15.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.01294, allocations: 45.83 kB / 357.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/0.01294, allocations: 0 / 357.4 MB, free: 15.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.003391/0.01633, allocations: 1.89 MB / 359.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/0.0164, allocations: 85.61 kB / 359.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.01676, allocations: 328.3 kB / 359.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.222e-05/0.0168, allocations: 41.7 kB / 359.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006746/0.01747, allocations: 272 kB / 360 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.01777, allocations: 297.5 kB / 360.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.01798, allocations: 144.3 kB / 360.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003447/0.01833, allocations: 0.543 MB / 361 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.01864, allocations: 157.9 kB / 361.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004608/0.0191, allocations: 322.7 kB / 361.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008213/0.01992, allocations: 0.5242 MB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.01993, allocations: 3.938 kB / 362 MB, free: 10.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001037/0.02097, allocations: 0.6024 MB / 362.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.02099, allocations: 8 kB / 362.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/0.021, allocations: 0 / 362.6 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.517e-05/0.02102, allocations: 8 kB / 362.6 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/0.02169, allocations: 179.8 kB / 362.8 MB, free: 9.465 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.838e-05/0.0217, allocations: 11.94 kB / 362.8 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.02197, allocations: 20 kB / 362.8 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/0.02201, allocations: 24 kB / 362.8 MB, free: 9.41 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.0002699/0.02228, allocations: 232.5 kB / 363.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.0224, allocations: 67.72 kB / 363.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.02255, allocations: 59.61 kB / 363.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.02256, allocations: 11.94 kB / 363.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.02257, allocations: 0 / 363.2 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.02258, allocations: 3.984 kB / 363.2 MB, free: 9.031 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.02492, allocations: 1.495 MB / 364.7 MB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.02493, allocations: 4.062 kB / 364.7 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006483/0.02557, allocations: 159.8 kB / 364.9 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.02558, allocations: 4 kB / 364.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.02562, allocations: 20 kB / 364.9 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.02563, allocations: 11.98 kB / 364.9 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/0.02564, allocations: 8.281 kB / 364.9 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.02706, allocations: 1.057 MB / 366 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.02715, allocations: 43.75 kB / 366 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.02721, allocations: 16 kB / 366 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/0.0275, allocations: 20 kB / 366 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.02759, allocations: 48.34 kB / 366.1 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.02763, allocations: 24 kB / 366.1 MB, free: 5.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002418/0.02787, allocations: 217.1 kB / 366.3 MB, free: 5.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02787, allocations: 4 kB / 366.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006327/0.0285, allocations: 140 kB / 366.5 MB, free: 5.602 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.0002069/0.02871, allocations: 127 kB / 366.6 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.02982, allocations: 485.7 kB / 367.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.02982, allocations: 0.5625 kB / 367.1 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.0302, allocations: 259.6 kB / 367.3 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008758/0.03107, allocations: 134 kB / 367.4 MB, free: 4.605 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.0337, allocations: 1.438 MB / 368.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.03401, allocations: 250 kB / 369.1 MB, free: 2.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002239/0.03424, allocations: 56.66 kB / 369.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.03436, allocations: 44.5 kB / 369.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.03436, allocations: 0 / 369.2 MB, free: 2.719 MB / 298.7 MB Notification: Performance of Templates: time 0.01226/0.04662, allocations: 5.342 MB / 374.6 MB, free: 13.45 MB / 314.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.105569612002]