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.001009/0.001009, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005124/0.006133, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.00103/0.00103, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001303/0.002333, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9865/0.9865, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.077, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2575/0.2575, allocations: 34.26 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0245/0.282, allocations: 13.1 MB / 291.3 MB, free: 7.379 MB / 282.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.452e-06/1.452e-06, allocations: 0 / 292.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.229e-05, allocations: 2.312 kB / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004276/0.004298, allocations: 3.292 MB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.006327, allocations: 0.8611 MB / 296.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000405/0.006732, allocations: 11.94 kB / 296.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.006939, allocations: 75.23 kB / 296.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005451/0.007485, allocations: 186.4 kB / 297 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.007804, allocations: 115.8 kB / 297.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007801/0.008584, allocations: 0.6185 MB / 297.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.008869, allocations: 126.4 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006037/0.009472, allocations: 375.9 kB / 298.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.009749, allocations: 179.5 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.234e-05/0.009831, allocations: 44 kB / 298.5 MB, free: 436 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.939e-05/0.009911, allocations: 44 kB / 298.5 MB, free: 392 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.009977, allocations: 75.69 kB / 298.6 MB, free: 316 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.01015, allocations: 163.7 kB / 298.8 MB, free: 152 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.01061, allocations: 351 kB / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.91e-05/0.01063, allocations: 0 / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01063, allocations: 0 / 299.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.01065, allocations: 0 / 299.1 MB, free: 15.8 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.001043/0.0117, allocations: 0.7813 MB / 299.9 MB, free: 15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.01174, allocations: 8.031 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.01186, allocations: 84.81 kB / 300 MB, free: 14.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.01221, allocations: 220.6 kB / 300.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.01224, allocations: 41.31 kB / 300.2 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.01232, allocations: 60.3 kB / 300.3 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.01272, allocations: 331 kB / 300.6 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.153e-05/0.01275, allocations: 12.12 kB / 300.6 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.01277, allocations: 20.38 kB / 300.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.01279, allocations: 23.92 kB / 300.7 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.01301, allocations: 139.6 kB / 300.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01425, allocations: 0.7533 MB / 301.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/0.01472, allocations: 280.2 kB / 301.8 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.01487, allocations: 113.1 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.01489, allocations: 8.5 kB / 301.9 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.01491, allocations: 43.06 kB / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 3.206e-06/0.01492, allocations: 0 / 302 MB, free: 12.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.002044/0.01696, allocations: 1.422 MB / 303.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.01701, allocations: 89.61 kB / 303.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.01716, allocations: 232.9 kB / 303.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.01718, allocations: 37.7 kB / 303.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.01727, allocations: 189.8 kB / 303.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.01743, allocations: 285.5 kB / 304.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.01755, allocations: 126.6 kB / 304.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01766, allocations: 358.7 kB / 304.7 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.01776, allocations: 65.97 kB / 304.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.01805, allocations: 188.8 kB / 304.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.01837, allocations: 326.3 kB / 305.3 MB, free: 9.301 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.01837, allocations: 4 kB / 305.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000413/0.01879, allocations: 349.1 kB / 305.6 MB, free: 8.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.01881, allocations: 8 kB / 305.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01882, allocations: 4 kB / 305.6 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01883, allocations: 4 kB / 305.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005673/0.0194, allocations: 225 kB / 305.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.01941, allocations: 8 kB / 305.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.01959, allocations: 24.19 kB / 305.9 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.01962, allocations: 24 kB / 305.9 MB, free: 8.66 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.0001182/0.01974, allocations: 149.6 kB / 306 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.01982, allocations: 51.95 kB / 306.1 MB, free: 8.453 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.0199, allocations: 55.61 kB / 306.1 MB, free: 8.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01991, allocations: 8 kB / 306.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01991, allocations: 0 / 306.2 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01992, allocations: 7.984 kB / 306.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.02115, allocations: 0.9556 MB / 307.1 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.02116, allocations: 3.984 kB / 307.1 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005626/0.02172, allocations: 201.6 kB / 307.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.02178, allocations: 43.7 kB / 307.4 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.02179, allocations: 11.92 kB / 307.4 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.02182, allocations: 16 kB / 307.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.02183, allocations: 4 kB / 307.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.02183, allocations: 7.938 kB / 307.4 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.0224, allocations: 0.6398 MB / 308 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.716e-05/0.02244, allocations: 27.92 kB / 308.1 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.02265, allocations: 16 kB / 308.1 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.454e-05/0.02271, allocations: 52.41 kB / 308.1 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.02273, allocations: 20.05 kB / 308.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.0228, allocations: 86.64 kB / 308.2 MB, free: 6.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0228, allocations: 0 / 308.2 MB, free: 6.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00067/0.02347, allocations: 140 kB / 308.4 MB, free: 6.047 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.0002112/0.02368, allocations: 110.1 kB / 308.5 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003907/0.02407, allocations: 318.9 kB / 308.8 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.181e-05/0.02409, allocations: 8 kB / 308.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.02422, allocations: 178 kB / 309 MB, free: 5.445 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005097/0.02473, allocations: 172.6 kB / 309.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.03024, allocations: 1.072 MB / 310.2 MB, free: 4.141 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.03034, allocations: 131.3 kB / 310.3 MB, free: 3.992 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.03049, allocations: 60.7 kB / 310.4 MB, free: 3.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000198/0.03069, allocations: 165.3 kB / 310.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03069, allocations: 0 / 310.6 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Templates: time 0.009569/0.04026, allocations: 6.451 MB / 317 MB, free: 13.5 MB / 314.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 -ignoreHideResult -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.0362979993224144]