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.001223/0.001223, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.004368/0.004368, 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 0.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2372/0.2372, allocations: 32.8 MB / 294.6 MB, free: 1.246 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.192e-06/1.192e-06, allocations: 0 / 323.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.247e-05, allocations: 2.312 kB / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003133/0.003155, allocations: 3.238 MB / 326.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.004699, allocations: 0.8565 MB / 327.3 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.004915, allocations: 11.94 kB / 327.3 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.005084, allocations: 75.17 kB / 327.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002936/0.005377, allocations: 186.4 kB / 327.6 MB, free: 5.352 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.005602, allocations: 111.8 kB / 327.7 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000457/0.006059, allocations: 0.623 MB / 328.3 MB, free: 4.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.006241, allocations: 118.5 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.006529, allocations: 347.2 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.006709, allocations: 183.5 kB / 328.9 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.763e-05/0.006757, allocations: 40 kB / 329 MB, free: 3.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.666e-05/0.006803, allocations: 44 kB / 329 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.167e-05/0.006865, allocations: 111.6 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.006989, allocations: 187.6 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.007304, allocations: 390.4 kB / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.007308, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007309, allocations: 0 / 329.7 MB, free: 3.219 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.007314, allocations: 0 / 329.7 MB, free: 3.219 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.000642/0.007956, allocations: 0.6762 MB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.007986, allocations: 12.03 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.691e-05/0.008063, allocations: 76.81 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.008308, allocations: 220.6 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.00833, allocations: 37.38 kB / 330.7 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.759e-05/0.008388, allocations: 60.25 kB / 330.8 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.008673, allocations: 323.1 kB / 331.1 MB, free: 1.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.008693, allocations: 12.12 kB / 331.1 MB, free: 1.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.008716, allocations: 20.38 kB / 331.1 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.008726, allocations: 15.94 kB / 331.1 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.008877, allocations: 152.8 kB / 331.3 MB, free: 1.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008368/0.009714, allocations: 0.7572 MB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.01003, allocations: 269.3 kB / 332.3 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.01013, allocations: 107.2 kB / 332.4 MB, free: 400 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.01015, allocations: 12.5 kB / 332.4 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.01017, allocations: 47.05 kB / 332.5 MB, free: 332 kB / 298.7 MB Notification: Performance of pre-optimization done (n=62): time 1.723e-06/0.01017, allocations: 4.219 kB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.001443/0.01162, allocations: 1.416 MB / 333.9 MB, free: 14.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.01166, allocations: 85.61 kB / 334 MB, free: 14.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.01179, allocations: 233 kB / 334.2 MB, free: 14.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.0118, allocations: 37.7 kB / 334.2 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.01188, allocations: 201.7 kB / 334.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.012, allocations: 281.5 kB / 334.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.231e-05/0.01209, allocations: 126.6 kB / 334.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.946e-05/0.01218, allocations: 354.7 kB / 335.2 MB, free: 13.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.01225, allocations: 69.95 kB / 335.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01238, allocations: 184.8 kB / 335.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.01262, allocations: 316.7 kB / 335.7 MB, free: 12.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.01262, allocations: 7.938 kB / 335.7 MB, free: 12.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0002976/0.01292, allocations: 349.2 kB / 336.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01294, allocations: 8 kB / 336.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01295, allocations: 11.92 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01296, allocations: 4 kB / 336.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.01327, allocations: 179.7 kB / 336.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.01328, allocations: 8 kB / 336.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.0134, allocations: 27.98 kB / 336.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.01342, allocations: 16 kB / 336.3 MB, free: 12.23 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.0001045/0.01353, allocations: 149.8 kB / 336.5 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.01359, allocations: 59.83 kB / 336.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.997e-05/0.01365, allocations: 59.61 kB / 336.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.01365, allocations: 8 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01366, allocations: 0 / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01366, allocations: 3.984 kB / 336.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.01454, allocations: 0.951 MB / 337.5 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.01454, allocations: 4 kB / 337.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.01487, allocations: 155.8 kB / 337.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.01488, allocations: 7.984 kB / 337.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/0.0149, allocations: 24.06 kB / 337.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.01491, allocations: 8 kB / 337.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.01491, allocations: 7.938 kB / 337.8 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.01537, allocations: 0.6596 MB / 338.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.0154, allocations: 35.75 kB / 338.4 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.01544, allocations: 23.94 kB / 338.5 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.01557, allocations: 16 kB / 338.5 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.01561, allocations: 56.34 kB / 338.5 MB, free: 9.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.01562, allocations: 16 kB / 338.6 MB, free: 9.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.01567, allocations: 74.77 kB / 338.6 MB, free: 9.793 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01567, allocations: 7.938 kB / 338.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.01598, allocations: 144 kB / 338.8 MB, free: 9.645 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.0001064/0.01608, allocations: 104.2 kB / 338.9 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.01636, allocations: 303.9 kB / 339.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.01637, allocations: 4 kB / 339.2 MB, free: 9.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.0165, allocations: 177.6 kB / 339.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.01696, allocations: 131.9 kB / 339.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.01819, allocations: 1.077 MB / 340.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.119e-05/0.01827, allocations: 127.3 kB / 340.7 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.01847, allocations: 56.66 kB / 340.7 MB, free: 7.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001947/0.01866, allocations: 165.3 kB / 340.9 MB, free: 7.426 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01866, allocations: 3.938 kB / 340.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of Templates: time 0.008403/0.02707, allocations: 5.857 MB / 346.8 MB, free: 1.727 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 -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.07107971701771]