Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001343/0.001343, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001187/0.001187, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.273e-05, allocations: 3.016 kB / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003392/0.003415, allocations: 3.285 MB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.004912, allocations: 0.8486 MB / 327.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.005102, allocations: 15.88 kB / 327.4 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.005269, allocations: 71.23 kB / 327.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.00555, allocations: 194.3 kB / 327.7 MB, free: 5.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.005753, allocations: 103.8 kB / 327.8 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.006136, allocations: 0.6185 MB / 328.4 MB, free: 4.523 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.006324, allocations: 123.1 kB / 328.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.006603, allocations: 347.3 kB / 328.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.006794, allocations: 187.5 kB / 329 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.006841, allocations: 44 kB / 329.1 MB, free: 3.832 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.006887, allocations: 44 kB / 329.1 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.006942, allocations: 103.5 kB / 329.2 MB, free: 3.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.007059, allocations: 187.6 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.007369, allocations: 382.5 kB / 329.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.007371, allocations: 3.938 kB / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.007372, allocations: 0 / 329.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.007378, allocations: 0 / 329.8 MB, free: 3.121 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.000613/0.007991, allocations: 0.6762 MB / 330.4 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.008023, allocations: 8.031 kB / 330.5 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.545e-05/0.008098, allocations: 80.88 kB / 330.5 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.00834, allocations: 220.5 kB / 330.7 MB, free: 2.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.008364, allocations: 37.36 kB / 330.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.008419, allocations: 56.33 kB / 330.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.008704, allocations: 331.1 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.008724, allocations: 12.12 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.008746, allocations: 20.36 kB / 331.2 MB, free: 1.629 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.008757, allocations: 15.94 kB / 331.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.008923, allocations: 151.5 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.009825, allocations: 0.7534 MB / 332.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.01015, allocations: 286.1 kB / 332.4 MB, free: 404 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.836e-05/0.01025, allocations: 109.1 kB / 332.5 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.01026, allocations: 8.5 kB / 332.5 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.01029, allocations: 50.98 kB / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 2.134e-06/0.01029, allocations: 0 / 332.6 MB, free: 224 kB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001495/0.01179, allocations: 1.413 MB / 334 MB, free: 14.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.01183, allocations: 93.53 kB / 334.1 MB, free: 14.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.01195, allocations: 225 kB / 334.3 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01197, allocations: 41.7 kB / 334.3 MB, free: 14.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.01205, allocations: 201.7 kB / 334.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.01217, allocations: 281.5 kB / 334.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.665e-05/0.01227, allocations: 126.6 kB / 334.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.01237, allocations: 358.7 kB / 335.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.01244, allocations: 69.95 kB / 335.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.01257, allocations: 180.8 kB / 335.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.01282, allocations: 319.9 kB / 335.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01282, allocations: 7.938 kB / 335.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0003135/0.01313, allocations: 349 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.01315, allocations: 4 kB / 336.2 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01315, allocations: 4 kB / 336.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.01317, allocations: 8 kB / 336.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004153/0.01359, allocations: 212 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01359, allocations: 4 kB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.01371, allocations: 27.98 kB / 336.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.01373, allocations: 16 kB / 336.4 MB, free: 12.11 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 0.0001026/0.01383, allocations: 153.6 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.01389, allocations: 51.95 kB / 336.6 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.01395, allocations: 59.61 kB / 336.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.01396, allocations: 12 kB / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.01396, allocations: 0 / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01397, allocations: 3.984 kB / 336.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.01484, allocations: 0.9581 MB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.01485, allocations: 4 kB / 337.7 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.01524, allocations: 188 kB / 337.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.01525, allocations: 8 kB / 337.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.01527, allocations: 23.92 kB / 337.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.01528, allocations: 11.94 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.01528, allocations: 4 kB / 337.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.01573, allocations: 0.6555 MB / 338.6 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.01577, allocations: 39.75 kB / 338.6 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.0158, allocations: 23.94 kB / 338.6 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.01593, allocations: 12 kB / 338.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.01598, allocations: 56.34 kB / 338.7 MB, free: 9.738 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.01599, allocations: 16 kB / 338.7 MB, free: 9.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.412e-05/0.01605, allocations: 78.72 kB / 338.8 MB, free: 9.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01605, allocations: 4 kB / 338.8 MB, free: 9.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01634, allocations: 140 kB / 338.9 MB, free: 9.5 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.0001047/0.01645, allocations: 112.2 kB / 339 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01673, allocations: 298.9 kB / 339.3 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.01674, allocations: 7.938 kB / 339.3 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.01687, allocations: 177.6 kB / 339.5 MB, free: 8.906 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.01732, allocations: 138.3 kB / 339.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.01854, allocations: 1.077 MB / 340.7 MB, free: 7.633 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.01862, allocations: 127.3 kB / 340.8 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001266/0.01875, allocations: 60.7 kB / 340.9 MB, free: 7.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.01896, allocations: 169.3 kB / 341.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01896, allocations: 0 / 341.1 MB, free: 7.262 MB / 314.7 MB Notification: Performance of Templates: time 0.00839/0.02735, allocations: 6.187 MB / 347.3 MB, free: 1.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.1070202351547778]