Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001999/0.001999, allocations: 99.53 kB / 20.97 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002708/0.002708, allocations: 160.8 kB / 24.27 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 177 MB / 204.5 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4951/0.4951, allocations: 34.25 MB / 295.2 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.152e-05, allocations: 10.25 kB / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004935/0.004967, allocations: 3.24 MB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.006513, allocations: 0.8257 MB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.006684, allocations: 15.88 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.006884, allocations: 71.23 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.007242, allocations: 186.3 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.007494, allocations: 115.8 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006779/0.008172, allocations: 0.614 MB / 382.3 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.008424, allocations: 117.9 kB / 382.4 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.008876, allocations: 347.3 kB / 382.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.009156, allocations: 171.5 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.009259, allocations: 47.94 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.00936, allocations: 44 kB / 383 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.009461, allocations: 99.64 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.009695, allocations: 195.5 kB / 383.3 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.01044, allocations: 0.5646 MB / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.01044, allocations: 0 / 383.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01044, allocations: 7.938 kB / 383.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.01045, allocations: 0 / 383.8 MB, free: 12.24 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.001273/0.01172, allocations: 0.8151 MB / 384.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.01176, allocations: 12.03 kB / 384.7 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.01191, allocations: 92.61 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.01234, allocations: 271.2 kB / 385 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.01238, allocations: 37.38 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.169e-05/0.01247, allocations: 64.27 kB / 385.1 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.01321, allocations: 444.8 kB / 385.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.01325, allocations: 12.09 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.0134, allocations: 20.38 kB / 385.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.01342, allocations: 15.94 kB / 385.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005478/0.01396, allocations: 304.4 kB / 385.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.01583, allocations: 1.126 MB / 387 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007871/0.01662, allocations: 406.3 kB / 387.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.01694, allocations: 196.7 kB / 387.6 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.01697, allocations: 12.5 kB / 387.6 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.912e-05/0.01701, allocations: 41.89 kB / 387.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of pre-optimization done (n=62): time 1.734e-06/0.01701, allocations: 0 / 387.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.003453/0.02046, allocations: 1.913 MB / 389.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.02053, allocations: 81.61 kB / 389.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.02095, allocations: 328.2 kB / 390 MB, free: 5.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.021, allocations: 37.7 kB / 390 MB, free: 5.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002267/0.02123, allocations: 272.1 kB / 390.3 MB, free: 5.477 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002655/0.02149, allocations: 289.6 kB / 390.6 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.0217, allocations: 152.3 kB / 390.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000408/0.02211, allocations: 0.543 MB / 391.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000473/0.02258, allocations: 161.9 kB / 391.4 MB, free: 4.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007221/0.0233, allocations: 322.8 kB / 391.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.02454, allocations: 0.5281 MB / 392.3 MB, free: 3.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.02455, allocations: 3.938 kB / 392.3 MB, free: 3.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001602/0.02615, allocations: 0.5984 MB / 392.9 MB, free: 2.766 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.903e-05/0.02619, allocations: 8 kB / 392.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.02621, allocations: 0 / 392.9 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.645e-05/0.02624, allocations: 8.281 kB / 392.9 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.02722, allocations: 179.7 kB / 393 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/0.02725, allocations: 11.98 kB / 393.1 MB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.02771, allocations: 24 kB / 393.1 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.02778, allocations: 24 kB / 393.1 MB, free: 2.516 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.0004275/0.0282, allocations: 236.3 kB / 393.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.0284, allocations: 67.72 kB / 393.4 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.0286, allocations: 55.61 kB / 393.5 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.02861, allocations: 8 kB / 393.5 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.02862, allocations: 4 kB / 393.5 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.671e-05/0.02864, allocations: 7.984 kB / 393.5 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.03205, allocations: 1.491 MB / 395 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/0.03206, allocations: 8.031 kB / 395 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.03309, allocations: 159.8 kB / 395.1 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.0331, allocations: 4 kB / 395.1 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.03316, allocations: 16 kB / 395.1 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.469e-05/0.03317, allocations: 8 kB / 395.2 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.116e-05/0.03318, allocations: 7.938 kB / 395.2 MB, free: 344 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.03552, allocations: 1.061 MB / 396.2 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/0.03568, allocations: 47.72 kB / 396.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.882e-05/0.03577, allocations: 16.05 kB / 396.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004798/0.03625, allocations: 23.97 kB / 396.3 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.03639, allocations: 56.3 kB / 396.4 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.03644, allocations: 23.98 kB / 396.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.03675, allocations: 217.1 kB / 396.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03675, allocations: 0 / 396.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009236/0.03767, allocations: 144 kB / 396.7 MB, free: 14.7 MB / 378.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.0002466/0.03792, allocations: 119.1 kB / 396.9 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.03919, allocations: 481.7 kB / 397.3 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.0392, allocations: 4 kB / 397.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.03977, allocations: 256.6 kB / 397.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.04112, allocations: 135.3 kB / 397.7 MB, free: 13.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.04476, allocations: 1.431 MB / 399.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.04516, allocations: 250 kB / 399.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.04546, allocations: 52.66 kB / 399.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.04562, allocations: 44.5 kB / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/0.04562, allocations: 0 / 399.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of Templates: time 0.02181/0.06743, allocations: 5.357 MB / 404.8 MB, free: 6.574 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.SpringDamper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33282601099927]