Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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.001368/0.001368, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.001497/0.001497, allocations: 220.1 kB / 23 MB, free: 5.574 MB / 14.72 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.414/1.414, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") translateModel(Modelica.Mechanics.Rotational.Examples.ElasticBearing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|load.phi|load.w|shaft.phi|shaft.w|springDamper.phi_rel|springDamper.w_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.89 kB / 376.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2499, allocations: 53.32 MB / 429.8 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003698/0.2536, allocations: 2.453 MB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2547, allocations: 0.6232 MB / 432.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.2548, allocations: 7.938 kB / 432.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.255, allocations: 39.58 kB / 432.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.2551, allocations: 79.33 kB / 433 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.2553, allocations: 59.86 kB / 433 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.2556, allocations: 290.7 kB / 433.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.2558, allocations: 86.94 kB / 433.4 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.256, allocations: 115.6 kB / 433.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.2561, allocations: 119.5 kB / 433.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.2562, allocations: 24 kB / 433.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.2562, allocations: 27.94 kB / 433.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.2563, allocations: 59.77 kB / 433.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2564, allocations: 127.4 kB / 433.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003558/0.2568, allocations: 304 kB / 434.2 MB, free: 3.148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2568, allocations: 4 kB / 434.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2568, allocations: 3.938 kB / 434.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.2568, allocations: 4 kB / 434.2 MB, free: 3.137 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008139/0.2576, allocations: 0.5379 MB / 434.7 MB, free: 2.551 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2576, allocations: 8.031 kB / 434.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.2577, allocations: 28.75 kB / 434.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.258, allocations: 244.5 kB / 435 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.258, allocations: 20.94 kB / 435 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/0.2581, allocations: 36.08 kB / 435 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.2586, allocations: 224.9 kB / 435.3 MB, free: 1.957 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.2586, allocations: 4 kB / 435.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.2586, allocations: 8 kB / 435.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2586, allocations: 8 kB / 435.3 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004196/0.2591, allocations: 178.1 kB / 435.5 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2603, allocations: 0.7502 MB / 436.2 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.2608, allocations: 209.5 kB / 436.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.261, allocations: 108.8 kB / 436.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.261, allocations: 0 / 436.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.2611, allocations: 34.56 kB / 436.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.2611, allocations: 0 / 436.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001867/0.2629, allocations: 0.9752 MB / 437.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.263, allocations: 59.34 kB / 437.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.2631, allocations: 155.8 kB / 437.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2632, allocations: 29.7 kB / 437.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.71e-05/0.2633, allocations: 140.8 kB / 437.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/0.2634, allocations: 115 kB / 438 MB, free: 15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.036e-05/0.2634, allocations: 49.7 kB / 438.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2636, allocations: 330.8 kB / 438.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.2638, allocations: 79.89 kB / 438.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.264, allocations: 112.3 kB / 438.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.2644, allocations: 207.3 kB / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2644, allocations: 0 / 438.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004848/0.2649, allocations: 253.5 kB / 439 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2649, allocations: 12.09 kB / 439 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2649, allocations: 0 / 439 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.2649, allocations: 0 / 439 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002983/0.2652, allocations: 79.83 kB / 439.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2652, allocations: 4 kB / 439.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.2653, allocations: 19.98 kB / 439.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2654, allocations: 8 kB / 439.2 MB, free: 13.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 35 * 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.0001354/0.2655, allocations: 137.7 kB / 439.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.2655, allocations: 27.86 kB / 439.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.2656, allocations: 26.55 kB / 439.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2656, allocations: 4 kB / 439.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2656, allocations: 4 kB / 439.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2656, allocations: 0 / 439.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2666, allocations: 0.6529 MB / 440 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2666, allocations: 4 kB / 440 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003312/0.267, allocations: 75.89 kB / 440.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.267, allocations: 0 / 440.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.267, allocations: 8 kB / 440.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.267, allocations: 3.938 kB / 440.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.267, allocations: 0 / 440.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007168/0.2677, allocations: 454.8 kB / 440.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.2678, allocations: 89.02 kB / 440.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.2678, allocations: 8.062 kB / 440.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.268, allocations: 15.92 kB / 440.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.268, allocations: 15.97 kB / 440.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.268, allocations: 16 kB / 440.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.153e-05/0.2681, allocations: 115.2 kB / 440.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2681, allocations: 0 / 440.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000314/0.2684, allocations: 60 kB / 440.8 MB, free: 12.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.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 (28): * Single equations (assignments): 28 * 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.0001271/0.2686, allocations: 103.2 kB / 440.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.269, allocations: 200 kB / 441.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.269, allocations: 3.938 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001963/0.2692, allocations: 95.89 kB / 441.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.2696, allocations: 43.16 kB / 441.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.2711, allocations: 0.8341 MB / 442.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.2715, allocations: 0.7522 MB / 442.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.272e-05/0.2716, allocations: 21.94 kB / 442.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.2717, allocations: 19.44 kB / 442.9 MB, free: 9.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2717, allocations: 4 kB / 442.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of Templates: time 0.005862/0.2775, allocations: 2.292 MB / 445.2 MB, free: 7.613 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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: 4.38103561103344]