Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009175/0.0009175, allocations: 80.8 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.0009255/0.0009255, allocations: 173.9 kB / 24.92 MB, free: 9.18 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 0.9822/0.9822, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2579/0.2579, allocations: 34.26 MB / 296.1 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.447e-05, allocations: 3.188 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003426/0.003451, allocations: 3.245 MB / 328.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.004843, allocations: 0.8455 MB / 329.3 MB, free: 3.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.005011, allocations: 15.88 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.005168, allocations: 79.17 kB / 329.4 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000249/0.005417, allocations: 186.4 kB / 329.6 MB, free: 3.309 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.005606, allocations: 103.8 kB / 329.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.006017, allocations: 0.6224 MB / 330.3 MB, free: 2.582 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.006209, allocations: 123 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00027/0.006479, allocations: 347.2 kB / 330.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.006656, allocations: 183.5 kB / 331 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.006706, allocations: 44 kB / 331 MB, free: 1.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.441e-05/0.00675, allocations: 44 kB / 331 MB, free: 1.848 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.006811, allocations: 107.6 kB / 331.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.006939, allocations: 183.7 kB / 331.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.007253, allocations: 394.4 kB / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.007256, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.007257, allocations: 0 / 331.7 MB, free: 1.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.007262, allocations: 0 / 331.7 MB, free: 1.176 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.0006213/0.007883, allocations: 0.6724 MB / 332.4 MB, free: 488 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.007921, allocations: 12.03 kB / 332.4 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.752e-05/0.007999, allocations: 76.88 kB / 332.5 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.008232, allocations: 220.6 kB / 332.7 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.008255, allocations: 33.38 kB / 332.7 MB, free: 124 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.008312, allocations: 64.3 kB / 332.8 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.008595, allocations: 327 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.008614, allocations: 12.12 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.008636, allocations: 24.36 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.008648, allocations: 19.94 kB / 333.2 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.008807, allocations: 144.8 kB / 333.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.009888, allocations: 0.7611 MB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.01022, allocations: 269.3 kB / 334.3 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.01033, allocations: 109.8 kB / 334.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01034, allocations: 16.5 kB / 334.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.01037, allocations: 39.28 kB / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.873e-06/0.01037, allocations: 0 / 334.5 MB, free: 14.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001452/0.01182, allocations: 1.424 MB / 335.9 MB, free: 12.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.01187, allocations: 89.61 kB / 336 MB, free: 12.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.01199, allocations: 229 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.01201, allocations: 33.7 kB / 336.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.01209, allocations: 205.7 kB / 336.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.01221, allocations: 281.5 kB / 336.7 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.0123, allocations: 122.6 kB / 336.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.34e-05/0.01239, allocations: 358.7 kB / 337.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.01246, allocations: 61.97 kB / 337.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.01259, allocations: 196.8 kB / 337.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.01283, allocations: 316.2 kB / 337.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.01283, allocations: 0 / 337.8 MB, free: 10.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002992/0.01313, allocations: 357 kB / 338.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.01315, allocations: 11.94 kB / 338.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.01316, allocations: 0 / 338.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01317, allocations: 8 kB / 338.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.01348, allocations: 171.8 kB / 338.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01349, allocations: 11.94 kB / 338.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.0136, allocations: 23.98 kB / 338.3 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01362, allocations: 24.19 kB / 338.3 MB, free: 10.19 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.0001038/0.01373, allocations: 145.7 kB / 338.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.01379, allocations: 59.95 kB / 338.6 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.01385, allocations: 55.61 kB / 338.6 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.01385, allocations: 8 kB / 338.6 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01386, allocations: 0 / 338.6 MB, free: 9.914 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.01386, allocations: 7.984 kB / 338.6 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/0.01472, allocations: 0.9577 MB / 339.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01473, allocations: 0 / 339.6 MB, free: 8.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/0.01506, allocations: 163.8 kB / 339.7 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01506, allocations: 4 kB / 339.7 MB, free: 8.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.01508, allocations: 16 kB / 339.8 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.01509, allocations: 4 kB / 339.8 MB, free: 8.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.01509, allocations: 4.344 kB / 339.8 MB, free: 8.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.01587, allocations: 0.667 MB / 340.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.0159, allocations: 39.69 kB / 340.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.01593, allocations: 20 kB / 340.5 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.01606, allocations: 16 kB / 340.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.0161, allocations: 56.34 kB / 340.6 MB, free: 7.852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.01611, allocations: 12 kB / 340.6 MB, free: 7.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.96e-05/0.01616, allocations: 82.77 kB / 340.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01616, allocations: 0 / 340.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002816/0.01644, allocations: 144 kB / 340.8 MB, free: 7.609 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.0001087/0.01655, allocations: 100.2 kB / 340.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.01684, allocations: 310.9 kB / 341.2 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.01684, allocations: 0.5625 kB / 341.2 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.01697, allocations: 180.8 kB / 341.4 MB, free: 7.02 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.0174, allocations: 130 kB / 341.5 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.01863, allocations: 1.076 MB / 342.6 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.21e-05/0.01872, allocations: 131.3 kB / 342.7 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001356/0.01886, allocations: 56.66 kB / 342.8 MB, free: 5.551 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.01906, allocations: 165.2 kB / 342.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01906, allocations: 0 / 342.9 MB, free: 5.387 MB / 314.7 MB Notification: Performance of Templates: time 0.009052/0.02811, allocations: 5.853 MB / 348.8 MB, free: 15.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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: 3.1062125922180712]