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.001813/0.001813, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.002299/0.002299, allocations: 168.2 kB / 24.82 MB, free: 8.883 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.145/1.145, allocations: 177.2 MB / 205.3 MB, free: 5.516 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.3752/0.3752, allocations: 34.27 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 2.013e-06/2.013e-06, allocations: 0 / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.441e-05/1.642e-05, allocations: 2.312 kB / 378.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003127/0.003143, allocations: 3.236 MB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.004285, allocations: 0.8255 MB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.004435, allocations: 15.88 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.00459, allocations: 67.25 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.00482, allocations: 194.4 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.004997, allocations: 107.8 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.005405, allocations: 0.6179 MB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.005618, allocations: 117.9 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.005891, allocations: 347.3 kB / 384 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.006074, allocations: 183.5 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.006121, allocations: 44 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.006174, allocations: 44 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.006236, allocations: 95.64 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.006367, allocations: 187.6 kB / 384.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003276/0.006695, allocations: 386.5 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.006697, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.006698, allocations: 0 / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.006703, allocations: 3.938 kB / 384.9 MB, free: 11.92 MB / 362.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.0007244/0.007428, allocations: 0.8035 MB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.007468, allocations: 12.03 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.007555, allocations: 92.61 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.0078, allocations: 267.3 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.007826, allocations: 37.38 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.514e-05/0.007881, allocations: 60.28 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/0.008203, allocations: 328.7 kB / 386.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.008225, allocations: 8.141 kB / 386.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.008251, allocations: 20.38 kB / 386.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.008263, allocations: 11.94 kB / 386.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.008439, allocations: 175.4 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009468/0.009385, allocations: 0.9624 MB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.009776, allocations: 305.1 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.009931, allocations: 132.8 kB / 388.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.009951, allocations: 12.5 kB / 388.1 MB, free: 8.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.009984, allocations: 45.83 kB / 388.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.009986, allocations: 0 / 388.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001777/0.01176, allocations: 1.454 MB / 389.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.01181, allocations: 93.59 kB / 389.7 MB, free: 6.855 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.012, allocations: 280.1 kB / 390 MB, free: 6.566 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.01203, allocations: 37.7 kB / 390 MB, free: 6.523 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.01216, allocations: 264 kB / 390.3 MB, free: 6.258 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001762/0.01233, allocations: 281.6 kB / 390.5 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.01247, allocations: 128.2 kB / 390.7 MB, free: 5.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.01264, allocations: 0.5312 MB / 391.2 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01275, allocations: 73.92 kB / 391.3 MB, free: 5.234 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.01294, allocations: 230.7 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003544/0.0133, allocations: 352.5 kB / 391.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.0133, allocations: 0 / 391.8 MB, free: 4.562 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0004957/0.0138, allocations: 460.6 kB / 392.3 MB, free: 4.105 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.01381, allocations: 8 kB / 392.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01382, allocations: 0 / 392.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.01384, allocations: 8 kB / 392.3 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.01425, allocations: 175.8 kB / 392.5 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.01426, allocations: 15.92 kB / 392.5 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.01443, allocations: 24.28 kB / 392.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.01445, allocations: 20 kB / 392.5 MB, free: 3.859 MB / 362.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.0001359/0.01459, allocations: 196.4 kB / 392.7 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.305e-05/0.01468, allocations: 75.59 kB / 392.8 MB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.749e-05/0.01476, allocations: 55.61 kB / 392.9 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.01477, allocations: 8 kB / 392.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.01477, allocations: 0 / 392.9 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.01478, allocations: 3.984 kB / 392.9 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.01607, allocations: 1.226 MB / 394.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01607, allocations: 0 / 394.1 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.01654, allocations: 167.9 kB / 394.3 MB, free: 2.027 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.924e-06/0.01655, allocations: 4 kB / 394.3 MB, free: 2.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.01657, allocations: 20.34 kB / 394.3 MB, free: 2.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.01658, allocations: 8 kB / 394.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.01659, allocations: 7.938 kB / 394.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.01735, allocations: 0.8499 MB / 395.2 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.0174, allocations: 43.7 kB / 395.2 MB, free: 1.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.01744, allocations: 20 kB / 395.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.01764, allocations: 19.98 kB / 395.2 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.01769, allocations: 52.36 kB / 395.3 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.01771, allocations: 19.98 kB / 395.3 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.01782, allocations: 189.1 kB / 395.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01782, allocations: 0 / 395.5 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004518/0.01827, allocations: 144 kB / 395.6 MB, free: 0.5938 MB / 362.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.000112/0.01839, allocations: 119.8 kB / 395.7 MB, free: 476 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.01878, allocations: 330.1 kB / 396.1 MB, free: 144 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.01878, allocations: 4 kB / 396.1 MB, free: 140 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.01898, allocations: 183.8 kB / 396.3 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.01961, allocations: 125.5 kB / 396.4 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.02143, allocations: 1.388 MB / 397.8 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.02155, allocations: 131.3 kB / 397.9 MB, free: 14.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.0217, allocations: 60.66 kB / 398 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.02195, allocations: 194.1 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02195, allocations: 0 / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of Templates: time 0.009904/0.03186, allocations: 5.85 MB / 404 MB, free: 8.25 MB / 378.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.801845627836883]