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.002152/0.002152, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.003112/0.003112, allocations: 157.6 kB / 23.52 MB, free: 0.918 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.5/1.5, allocations: 158.6 MB / 185.3 MB, free: 2.879 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.2597/0.2597, allocations: 32.37 MB / 270 MB, free: 14.78 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.894e-06/1.894e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.951e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003132/0.003162, allocations: 2.989 MB / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.004536, allocations: 0.8189 MB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003503/0.004886, allocations: 15.88 kB / 350.7 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.005132, allocations: 75.19 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.005491, allocations: 190.4 kB / 351 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.005747, allocations: 107.8 kB / 351.1 MB, free: 5.598 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.006206, allocations: 0.6218 MB / 351.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.00641, allocations: 113.9 kB / 351.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003177/0.006728, allocations: 351.2 kB / 352.2 MB, free: 4.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.006917, allocations: 175.5 kB / 352.4 MB, free: 4.344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.006969, allocations: 44 kB / 352.4 MB, free: 4.301 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.195e-05/0.007031, allocations: 44 kB / 352.4 MB, free: 4.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.007083, allocations: 99.58 kB / 352.5 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.007218, allocations: 183.6 kB / 352.7 MB, free: 3.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.007632, allocations: 0.5645 MB / 353.3 MB, free: 3.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.007637, allocations: 12 kB / 353.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.007638, allocations: 0 / 353.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.007646, allocations: 0 / 353.3 MB, free: 3.402 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.0008368/0.008482, allocations: 0.6842 MB / 354 MB, free: 2.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.008536, allocations: 16.03 kB / 354 MB, free: 2.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.008656, allocations: 92.61 kB / 354.1 MB, free: 2.578 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.00901, allocations: 268.4 kB / 354.3 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.009035, allocations: 37.38 kB / 354.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.0091, allocations: 52.33 kB / 354.4 MB, free: 2.203 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005492/0.00965, allocations: 443.1 kB / 354.9 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.009675, allocations: 4.141 kB / 354.9 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.009709, allocations: 20.38 kB / 354.9 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.00972, allocations: 15.94 kB / 354.9 MB, free: 1.715 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003843/0.0101, allocations: 312.5 kB / 355.2 MB, free: 1.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001203/0.01131, allocations: 0.9521 MB / 356.2 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.01189, allocations: 382 kB / 356.5 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.01222, allocations: 191.2 kB / 356.7 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.01226, allocations: 12.5 kB / 356.7 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.01229, allocations: 39.28 kB / 356.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.813e-06/0.0123, allocations: 4.031 kB / 356.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.003399/0.0157, allocations: 1.876 MB / 358.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.01578, allocations: 85.61 kB / 358.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.01607, allocations: 233.9 kB / 359 MB, free: 13.47 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.657e-05/0.0161, allocations: 33.7 kB / 359 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.01629, allocations: 225.2 kB / 359.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.01657, allocations: 281.5 kB / 359.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.01675, allocations: 118.7 kB / 359.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.01697, allocations: 350.8 kB / 360 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.01725, allocations: 161.9 kB / 360.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.01795, allocations: 272.9 kB / 360.4 MB, free: 12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/0.01869, allocations: 474.8 kB / 360.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.0187, allocations: 3.938 kB / 360.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001008/0.01971, allocations: 0.5945 MB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.01973, allocations: 7.984 kB / 361.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.01974, allocations: 8.281 kB / 361.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.01977, allocations: 4 kB / 361.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.02042, allocations: 183.7 kB / 361.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.02044, allocations: 4 kB / 361.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.02071, allocations: 27.98 kB / 361.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.02075, allocations: 20 kB / 361.7 MB, free: 10.64 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.0002481/0.021, allocations: 185.6 kB / 361.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.02113, allocations: 67.72 kB / 361.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.02128, allocations: 63.61 kB / 362 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.02128, allocations: 4 kB / 362 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.02129, allocations: 4 kB / 362 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.0213, allocations: 3.984 kB / 362 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.02363, allocations: 1.289 MB / 363.3 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.02364, allocations: 4 kB / 363.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.02432, allocations: 171.8 kB / 363.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.02433, allocations: 8 kB / 363.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.02437, allocations: 16 kB / 363.5 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.02438, allocations: 4 kB / 363.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.02438, allocations: 4 kB / 363.5 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.02579, allocations: 0.9327 MB / 364.4 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.02587, allocations: 43.75 kB / 364.5 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.02593, allocations: 20 kB / 364.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.02622, allocations: 16 kB / 364.5 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.292e-05/0.0263, allocations: 52.28 kB / 364.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.02633, allocations: 24 kB / 364.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.02652, allocations: 165.2 kB / 364.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02652, allocations: 0 / 364.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.02709, allocations: 144 kB / 364.9 MB, free: 7.297 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.0002043/0.0273, allocations: 127.1 kB / 365 MB, free: 7.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007912/0.02809, allocations: 432.1 kB / 365.4 MB, free: 6.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.02809, allocations: 4 kB / 365.4 MB, free: 6.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.02845, allocations: 223.6 kB / 365.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009221/0.02937, allocations: 136.1 kB / 365.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002622/0.03199, allocations: 1.391 MB / 367.2 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.03254, allocations: 246 kB / 367.4 MB, free: 4.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000207/0.03275, allocations: 52.66 kB / 367.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.03287, allocations: 44.5 kB / 367.5 MB, free: 4.57 MB / 298.7 MB Notification: Performance of SimCode: time 1.783e-06/0.03287, allocations: 4 kB / 367.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of Templates: time 0.01183/0.0447, allocations: 5.352 MB / 372.9 MB, free: 15.28 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 480] 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.150876637897454]