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.0008393/0.0008393, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009385/0.0009385, allocations: 168 kB / 25 MB, free: 8.871 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.9953/0.9953, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2472/0.2472, allocations: 32.81 MB / 294.6 MB, free: 1.281 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 2.364e-06/2.364e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.292e-05, allocations: 2.312 kB / 376 MB, free: 5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003854/0.003877, allocations: 3.278 MB / 379.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.004944, allocations: 0.8255 MB / 380.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.005096, allocations: 15.88 kB / 380.1 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.005248, allocations: 75.17 kB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.005501, allocations: 186.4 kB / 380.4 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.005686, allocations: 107.8 kB / 380.5 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004716/0.006157, allocations: 0.6219 MB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.006361, allocations: 113.9 kB / 381.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.006657, allocations: 347.2 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.006854, allocations: 175.5 kB / 381.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.006909, allocations: 48 kB / 381.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.724e-05/0.006967, allocations: 44 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.011e-05/0.007037, allocations: 111.6 kB / 381.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.007193, allocations: 183.6 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.007555, allocations: 390.4 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007557, allocations: 0 / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.007557, allocations: 4 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.007562, allocations: 0 / 382.5 MB, free: 14.47 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.000767/0.008329, allocations: 0.7842 MB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.00836, allocations: 12.03 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001066/0.008467, allocations: 92.61 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.008758, allocations: 263.3 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.008786, allocations: 37.38 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.639e-05/0.008853, allocations: 64.27 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004599/0.009313, allocations: 356.8 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.009337, allocations: 12.12 kB / 384.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.009368, allocations: 20.38 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.009383, allocations: 15.94 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.009704, allocations: 202.5 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.01085, allocations: 1.001 MB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.01134, allocations: 342.1 kB / 385.6 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.0118, allocations: 140.8 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.01182, allocations: 12.5 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.01184, allocations: 42.11 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.874e-06/0.01185, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002031/0.01388, allocations: 1.671 MB / 387.5 MB, free: 9.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.01392, allocations: 85.61 kB / 387.6 MB, free: 9.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.0141, allocations: 288.2 kB / 387.9 MB, free: 8.773 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.01412, allocations: 33.7 kB / 387.9 MB, free: 8.734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.01424, allocations: 260 kB / 388.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.01439, allocations: 277.6 kB / 388.4 MB, free: 8.199 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.01452, allocations: 128.3 kB / 388.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.01467, allocations: 0.5196 MB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.0148, allocations: 101.9 kB / 389.2 MB, free: 7.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.01499, allocations: 246.8 kB / 389.4 MB, free: 7.145 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.01532, allocations: 396.5 kB / 389.8 MB, free: 6.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01533, allocations: 3.938 kB / 389.8 MB, free: 6.699 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.000438/0.01576, allocations: 0.489 MB / 390.3 MB, free: 6.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.01578, allocations: 8 kB / 390.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01578, allocations: 0 / 390.3 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.01579, allocations: 8 kB / 390.3 MB, free: 6.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/0.01611, allocations: 179.7 kB / 390.5 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.01612, allocations: 8.062 kB / 390.5 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.01624, allocations: 28.27 kB / 390.5 MB, free: 5.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.01626, allocations: 32 kB / 390.6 MB, free: 5.945 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.0001036/0.01636, allocations: 204.3 kB / 390.8 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.131e-05/0.01642, allocations: 67.72 kB / 390.8 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.91e-05/0.01648, allocations: 55.61 kB / 390.9 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.01649, allocations: 8 kB / 390.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01649, allocations: 0 / 390.9 MB, free: 5.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.0165, allocations: 3.984 kB / 390.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.01755, allocations: 1.311 MB / 392.2 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.01755, allocations: 4 kB / 392.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.01788, allocations: 151.8 kB / 392.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.01789, allocations: 8 kB / 392.4 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.01792, allocations: 23.98 kB / 392.4 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.01792, allocations: 8.281 kB / 392.4 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01792, allocations: 8 kB / 392.4 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.01878, allocations: 0.9007 MB / 393.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.01882, allocations: 43.73 kB / 393.3 MB, free: 2.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.01885, allocations: 20 kB / 393.4 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.01899, allocations: 16 kB / 393.4 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.01903, allocations: 60.28 kB / 393.4 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.01905, allocations: 24 kB / 393.5 MB, free: 2.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.8e-05/0.01914, allocations: 197.1 kB / 393.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01914, allocations: 0 / 393.6 MB, free: 2.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003154/0.01945, allocations: 140 kB / 393.8 MB, free: 2.531 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 7.442e-05/0.01953, allocations: 119.1 kB / 393.9 MB, free: 2.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003812/0.01991, allocations: 362.9 kB / 394.3 MB, free: 2.051 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01991, allocations: 4.125 kB / 394.3 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.02008, allocations: 203.6 kB / 394.5 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00046/0.02054, allocations: 129.5 kB / 394.6 MB, free: 1.715 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.02195, allocations: 1.396 MB / 396 MB, free: 240 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.778e-05/0.02202, allocations: 131.3 kB / 396.1 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.02213, allocations: 56.66 kB / 396.2 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.02221, allocations: 44.55 kB / 396.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02221, allocations: 0 / 396.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of Templates: time 0.007076/0.02928, allocations: 5.355 MB / 401.6 MB, free: 10.73 MB / 378.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.2956024571321905]