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.00152/0.00152, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001403/0.001403, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.005/1.005, allocations: 177.1 MB / 205 MB, free: 5.637 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.3037/0.3037, allocations: 32.81 MB / 294.3 MB, free: 1.293 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 3.326e-06/3.326e-06, allocations: 4 kB / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.629e-05, allocations: 2.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.003614/0.00365, allocations: 3.282 MB / 379.3 MB, free: 1.391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.005198, allocations: 0.8217 MB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002696/0.005468, allocations: 15.88 kB / 380.1 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001885/0.005656, allocations: 75.17 kB / 380.2 MB, free: 484 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.006018, allocations: 186.4 kB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.006299, allocations: 107.8 kB / 380.5 MB, free: 188 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009026/0.007201, allocations: 0.6218 MB / 381.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.00748, allocations: 113.9 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.008154, allocations: 347.2 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002893/0.008443, allocations: 179.5 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.008515, allocations: 48 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.538e-05/0.00859, allocations: 44 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.008666, allocations: 107.6 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.00884, allocations: 187.6 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.009287, allocations: 382.4 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.009292, allocations: 4 kB / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.009294, allocations: 0 / 382.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.009304, allocations: 0 / 382.5 MB, free: 14.17 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.0009901/0.01029, allocations: 0.7881 MB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.01035, allocations: 12.03 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.0105, allocations: 92.61 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.01091, allocations: 267.2 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.01095, allocations: 37.38 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.01105, allocations: 56.28 kB / 383.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.01164, allocations: 360.8 kB / 384.1 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/0.01168, allocations: 12.14 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.01172, allocations: 16.38 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.01175, allocations: 23.92 kB / 384.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003759/0.01213, allocations: 206.5 kB / 384.3 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.01373, allocations: 1.001 MB / 385.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.01435, allocations: 338.8 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.01457, allocations: 144.7 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.0146, allocations: 12.72 kB / 385.8 MB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.01463, allocations: 45.83 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 6.492e-06/0.01464, allocations: 0 / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002619/0.01726, allocations: 1.652 MB / 387.5 MB, free: 8.871 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.01732, allocations: 89.55 kB / 387.6 MB, free: 8.766 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.01792, allocations: 292.2 kB / 387.9 MB, free: 8.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.01796, allocations: 37.7 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.0181, allocations: 260 kB / 388.2 MB, free: 8.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.01829, allocations: 281.5 kB / 388.5 MB, free: 7.883 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.01844, allocations: 124.3 kB / 388.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.01862, allocations: 0.5235 MB / 389.1 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.0188, allocations: 93.94 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.01904, allocations: 250.8 kB / 389.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004577/0.0195, allocations: 400.6 kB / 389.8 MB, free: 6.387 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.01951, allocations: 3.938 kB / 389.8 MB, free: 6.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003835/0.02334, allocations: 0.4929 MB / 390.3 MB, free: 5.883 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.02337, allocations: 8 kB / 390.3 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.02338, allocations: 0 / 390.3 MB, free: 5.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/0.02342, allocations: 8 kB / 390.3 MB, free: 5.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.02394, allocations: 179.8 kB / 390.5 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.02396, allocations: 8 kB / 390.5 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.0242, allocations: 24.27 kB / 390.5 MB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.02423, allocations: 32 kB / 390.6 MB, free: 5.629 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.0001793/0.02441, allocations: 200.3 kB / 390.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.02453, allocations: 75.7 kB / 390.8 MB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.794e-05/0.02461, allocations: 51.62 kB / 390.9 MB, free: 5.297 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.02462, allocations: 8 kB / 390.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.02463, allocations: 0 / 390.9 MB, free: 5.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.02464, allocations: 3.984 kB / 390.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004694/0.02934, allocations: 1.303 MB / 392.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.02934, allocations: 8 kB / 392.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.02985, allocations: 159.8 kB / 392.4 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.02986, allocations: 8 kB / 392.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.0299, allocations: 16 kB / 392.4 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.0299, allocations: 8.281 kB / 392.4 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.02991, allocations: 8 kB / 392.4 MB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/0.03078, allocations: 0.9085 MB / 393.3 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.03085, allocations: 39.72 kB / 393.4 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.0309, allocations: 19.98 kB / 393.4 MB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.03111, allocations: 16 kB / 393.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.336e-05/0.03118, allocations: 60.28 kB / 393.5 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.0312, allocations: 24 kB / 393.5 MB, free: 2.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.03132, allocations: 193.1 kB / 393.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03132, allocations: 0 / 393.7 MB, free: 2.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00354/0.03486, allocations: 148 kB / 393.8 MB, free: 2.211 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.0001436/0.035, allocations: 111.1 kB / 393.9 MB, free: 2.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.03558, allocations: 366.1 kB / 394.3 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.03558, allocations: 4.125 kB / 394.3 MB, free: 1.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.03582, allocations: 203.6 kB / 394.5 MB, free: 1.523 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007041/0.03652, allocations: 133.2 kB / 394.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005285/0.04181, allocations: 1.388 MB / 396 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.04192, allocations: 135.3 kB / 396.1 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.04209, allocations: 60.64 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.04219, allocations: 44.5 kB / 396.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.483e-06/0.04219, allocations: 0 / 396.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of Templates: time 0.02306/0.06525, allocations: 5.648 MB / 401.9 MB, free: 10.11 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.455082117114216]