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.0009881/0.0009881, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001118/0.001118, allocations: 168.9 kB / 25.61 MB, free: 8.582 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.9065/0.9065, allocations: 177.1 MB / 206.1 MB, free: 4.469 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.1334/0.1334, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.462e-06/1.462e-06, allocations: 0 / 377.2 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.121e-05, allocations: 2.312 kB / 377.2 MB, free: 25.61 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.002838/0.002859, allocations: 3.239 MB / 380.5 MB, free: 22.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004065, allocations: 0.8217 MB / 381.3 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.004255, allocations: 15.88 kB / 381.3 MB, free: 21.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.004408, allocations: 79.17 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.004633, allocations: 182.4 kB / 381.6 MB, free: 21.25 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.004812, allocations: 107.8 kB / 381.7 MB, free: 21.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003318/0.005144, allocations: 0.6179 MB / 382.3 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.005337, allocations: 113.9 kB / 382.4 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.005626, allocations: 351.3 kB / 382.8 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.005781, allocations: 175.5 kB / 382.9 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.887e-05/0.00582, allocations: 47.94 kB / 383 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.146e-05/0.005861, allocations: 44 kB / 383 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.005904, allocations: 99.64 kB / 383.1 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.577e-05/0.005999, allocations: 195.6 kB / 383.3 MB, free: 19.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.006289, allocations: 378.6 kB / 383.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006292, allocations: 0 / 383.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006293, allocations: 0 / 383.7 MB, free: 19.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.75e-06/0.006299, allocations: 7.938 kB / 383.7 MB, free: 19.13 MB / 314.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.0005536/0.006852, allocations: 0.7958 MB / 384.5 MB, free: 18.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.006883, allocations: 19.98 kB / 384.5 MB, free: 18.28 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.197e-05/0.006955, allocations: 96.56 kB / 384.6 MB, free: 18.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002049/0.00716, allocations: 267.2 kB / 384.8 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.007176, allocations: 37.38 kB / 384.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.007224, allocations: 52.33 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/0.007456, allocations: 324.8 kB / 385.3 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.007475, allocations: 16.08 kB / 385.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.007496, allocations: 20.38 kB / 385.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007503, allocations: 15.94 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000139/0.007642, allocations: 175.4 kB / 385.5 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/0.008433, allocations: 0.9508 MB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.008717, allocations: 306.1 kB / 386.7 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.008809, allocations: 128.8 kB / 386.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.008824, allocations: 8.5 kB / 386.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.00884, allocations: 45.89 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 1.423e-06/0.008841, allocations: 4.031 kB / 386.9 MB, free: 15.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.001103/0.009944, allocations: 1.452 MB / 388.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.009969, allocations: 85.61 kB / 388.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.01008, allocations: 284.1 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.0101, allocations: 33.7 kB / 388.8 MB, free: 13.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.0102, allocations: 264 kB / 389 MB, free: 13.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.01034, allocations: 289.4 kB / 389.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.01046, allocations: 128.3 kB / 389.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.01054, allocations: 0.5273 MB / 389.9 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.01066, allocations: 73.92 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.01084, allocations: 234.7 kB / 390.3 MB, free: 12.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003355/0.01117, allocations: 348.4 kB / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.01118, allocations: 0 / 390.6 MB, free: 11.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0005177/0.01169, allocations: 461.4 kB / 391 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.01171, allocations: 8.281 kB / 391 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01172, allocations: 4 kB / 391.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.01173, allocations: 8 kB / 391.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.01219, allocations: 179.7 kB / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.0122, allocations: 8 kB / 391.2 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.01236, allocations: 20 kB / 391.3 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.01238, allocations: 20 kB / 391.3 MB, free: 11.09 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 8.505e-05/0.01247, allocations: 196.4 kB / 391.5 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.01253, allocations: 75.7 kB / 391.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.146e-05/0.01258, allocations: 55.61 kB / 391.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01258, allocations: 8 kB / 391.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01259, allocations: 0 / 391.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.01259, allocations: 3.984 kB / 391.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008137/0.01341, allocations: 1.228 MB / 392.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01341, allocations: 0 / 392.8 MB, free: 9.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.0137, allocations: 163.8 kB / 393 MB, free: 9.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.01371, allocations: 4 kB / 393 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.01373, allocations: 16 kB / 393 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.01373, allocations: 16 kB / 393 MB, free: 9.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01374, allocations: 7.984 kB / 393 MB, free: 9.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.01416, allocations: 0.8501 MB / 393.9 MB, free: 8.305 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.0142, allocations: 39.72 kB / 393.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.01423, allocations: 23.98 kB / 394 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.01435, allocations: 16 kB / 394 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.01439, allocations: 56.28 kB / 394 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.0144, allocations: 16 kB / 394 MB, free: 8.156 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.727e-05/0.01444, allocations: 189.1 kB / 394.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01444, allocations: 0 / 394.2 MB, free: 7.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003298/0.01477, allocations: 144 kB / 394.4 MB, free: 7.832 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 8.01e-05/0.01485, allocations: 119.1 kB / 394.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002386/0.01509, allocations: 325.6 kB / 394.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.0151, allocations: 4 kB / 394.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.0152, allocations: 188.8 kB / 395 MB, free: 7.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.01571, allocations: 128.7 kB / 395.1 MB, free: 7.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.01692, allocations: 1.382 MB / 396.5 MB, free: 5.605 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.812e-05/0.01699, allocations: 131.3 kB / 396.6 MB, free: 5.457 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.01711, allocations: 60.66 kB / 396.7 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.01729, allocations: 194.1 kB / 396.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01729, allocations: 0 / 396.9 MB, free: 5.207 MB / 314.7 MB Notification: Performance of Templates: time 0.007617/0.0249, allocations: 5.99 MB / 402.9 MB, free: 15.35 MB / 330.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.153625792823732]