Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 170 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9743/0.9743, allocations: 177 MB / 205.2 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 34.87 MB / 296.6 MB, free: 432 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.296e-05, allocations: 9.125 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002879/0.002892, allocations: 3.231 MB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.003877, allocations: 0.8575 MB / 330 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.003997, allocations: 11.88 kB / 330 MB, free: 3.004 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.004135, allocations: 71.23 kB / 330.1 MB, free: 2.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.004345, allocations: 186.4 kB / 330.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.004502, allocations: 111.8 kB / 330.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004761/0.004979, allocations: 0.6153 MB / 331 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.005144, allocations: 126.5 kB / 331.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.005371, allocations: 351.2 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.005532, allocations: 175.5 kB / 331.6 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.005575, allocations: 44 kB / 331.7 MB, free: 1.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.171e-05/0.005616, allocations: 44 kB / 331.7 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.005671, allocations: 103.6 kB / 331.8 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.005785, allocations: 187.6 kB / 332 MB, free: 1.004 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.006061, allocations: 390.5 kB / 332.4 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.006062, allocations: 4 kB / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.006063, allocations: 0 / 332.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.006067, allocations: 0 / 332.4 MB, free: 0.6172 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.00057/0.006637, allocations: 0.6763 MB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.82e-05/0.006666, allocations: 8.031 kB / 333.1 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.006733, allocations: 80.81 kB / 333.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.006948, allocations: 216.6 kB / 333.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.006969, allocations: 37.38 kB / 333.4 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.992e-05/0.007019, allocations: 60.25 kB / 333.4 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.007268, allocations: 331 kB / 333.8 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.007286, allocations: 8.141 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.136e-05/0.007307, allocations: 24.38 kB / 333.8 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.007316, allocations: 15.94 kB / 333.8 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.007455, allocations: 147.6 kB / 334 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.008467, allocations: 0.7611 MB / 334.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.008759, allocations: 269.3 kB / 335 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.008864, allocations: 116 kB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.008879, allocations: 12.44 kB / 335.1 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.0089, allocations: 39.06 kB / 335.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.703e-06/0.008901, allocations: 4 kB / 335.2 MB, free: 13.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001303/0.0102, allocations: 1.422 MB / 336.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.01024, allocations: 85.61 kB / 336.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01035, allocations: 229 kB / 336.9 MB, free: 11.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01037, allocations: 41.7 kB / 336.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.01043, allocations: 201.7 kB / 337.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.01055, allocations: 285.5 kB / 337.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.328e-05/0.01063, allocations: 118.6 kB / 337.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.01072, allocations: 358.7 kB / 337.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.01079, allocations: 61.97 kB / 337.9 MB, free: 10.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.01091, allocations: 192.8 kB / 338.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.01114, allocations: 313.1 kB / 338.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01114, allocations: 3.938 kB / 338.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002709/0.01141, allocations: 353.2 kB / 338.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.01142, allocations: 8.031 kB / 338.8 MB, free: 9.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.01143, allocations: 4 kB / 338.8 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.01144, allocations: 8 kB / 338.8 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.01174, allocations: 187.7 kB / 339 MB, free: 9.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.01174, allocations: 4 kB / 339 MB, free: 9.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.01185, allocations: 27.98 kB / 339 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.01187, allocations: 16 kB / 339 MB, free: 9.641 MB / 314.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 8.804e-05/0.01196, allocations: 145.7 kB / 339.2 MB, free: 9.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.01201, allocations: 63.83 kB / 339.2 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.01206, allocations: 59.61 kB / 339.3 MB, free: 9.363 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.01207, allocations: 8 kB / 339.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.01207, allocations: 0 / 339.3 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01207, allocations: 4.047 kB / 339.3 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007681/0.01284, allocations: 0.9549 MB / 340.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01284, allocations: 7.984 kB / 340.3 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.01315, allocations: 151.8 kB / 340.4 MB, free: 8.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.01316, allocations: 8 kB / 340.4 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/0.01318, allocations: 27.92 kB / 340.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01318, allocations: 4 kB / 340.4 MB, free: 8.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.01318, allocations: 7.938 kB / 340.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.01359, allocations: 0.6596 MB / 341.1 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.01362, allocations: 39.75 kB / 341.1 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.01366, allocations: 23.98 kB / 341.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.01378, allocations: 16 kB / 341.2 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.01382, allocations: 52.34 kB / 341.2 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.01383, allocations: 16 kB / 341.3 MB, free: 7.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.01387, allocations: 74.78 kB / 341.3 MB, free: 7.191 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01387, allocations: 3.938 kB / 341.3 MB, free: 7.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000255/0.01413, allocations: 144 kB / 341.5 MB, free: 7.047 MB / 314.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.0002981/0.01443, allocations: 104.2 kB / 341.6 MB, free: 6.938 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.01468, allocations: 302.9 kB / 341.9 MB, free: 6.641 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.01468, allocations: 4 kB / 341.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.0148, allocations: 178.2 kB / 342 MB, free: 6.465 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.01517, allocations: 126.1 kB / 342.2 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01621, allocations: 1.07 MB / 343.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.01628, allocations: 131.3 kB / 343.4 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.01638, allocations: 56.66 kB / 343.4 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.01656, allocations: 169.3 kB / 343.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01656, allocations: 0 / 343.6 MB, free: 4.84 MB / 314.7 MB Notification: Performance of Templates: time 0.007087/0.02365, allocations: 5.853 MB / 349.4 MB, free: 15.18 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.920007824897766]