Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005955/0.005955, allocations: 110.3 kB / 21.98 MB, free: 5.18 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.001394/0.001394, allocations: 218.2 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.6 MB / 259 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.89 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2685/0.2705, allocations: 53.37 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004013/0.2745, allocations: 2.455 MB / 435.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2757, allocations: 0.6231 MB / 436.2 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2758, allocations: 4 kB / 436.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.276, allocations: 43.58 kB / 436.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.2762, allocations: 83.27 kB / 436.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.2764, allocations: 59.92 kB / 436.4 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000358/0.2767, allocations: 294.6 kB / 436.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.2769, allocations: 83.36 kB / 436.8 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2771, allocations: 119.6 kB / 436.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002171/0.2773, allocations: 119.5 kB / 437 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.2774, allocations: 24 kB / 437 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.549e-05/0.2774, allocations: 24 kB / 437.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.2775, allocations: 59.77 kB / 437.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2776, allocations: 127.4 kB / 437.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.2781, allocations: 301 kB / 437.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2781, allocations: 0 / 437.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2781, allocations: 7.984 kB / 437.6 MB, free: 2.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.2781, allocations: 0 / 437.6 MB, free: 2.551 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.0008278/0.2789, allocations: 477.7 kB / 438 MB, free: 2.055 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.279, allocations: 12.03 kB / 438 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.279, allocations: 28.75 kB / 438.1 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.2793, allocations: 178.7 kB / 438.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.2794, allocations: 25.03 kB / 438.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.2794, allocations: 28.12 kB / 438.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.2799, allocations: 230 kB / 438.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2799, allocations: 3.953 kB / 438.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.2799, allocations: 16 kB / 438.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.28, allocations: 4 kB / 438.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.2804, allocations: 178.5 kB / 438.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2816, allocations: 0.6947 MB / 439.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.2821, allocations: 205.4 kB / 439.6 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.2824, allocations: 107.9 kB / 439.7 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2824, allocations: 4 kB / 439.7 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2824, allocations: 42.44 kB / 439.8 MB, free: 236 kB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.2824, allocations: 0 / 439.8 MB, free: 236 kB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001821/0.2842, allocations: 0.8222 MB / 440.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.2843, allocations: 55.41 kB / 440.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.2845, allocations: 158.6 kB / 440.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2845, allocations: 29.7 kB / 440.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.2846, allocations: 144.8 kB / 441 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.198e-05/0.2847, allocations: 111 kB / 441.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.2848, allocations: 53.7 kB / 441.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.2849, allocations: 330.8 kB / 441.4 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.2851, allocations: 71.95 kB / 441.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.2853, allocations: 120.1 kB / 441.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.2857, allocations: 211.3 kB / 441.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2857, allocations: 0 / 441.8 MB, free: 14.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005125/0.2862, allocations: 253.5 kB / 442.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.2863, allocations: 4 kB / 442.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2863, allocations: 4 kB / 442.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2863, allocations: 0 / 442.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.2866, allocations: 79.89 kB / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2866, allocations: 0 / 442.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.2867, allocations: 15.98 kB / 442.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2867, allocations: 8 kB / 442.2 MB, free: 13.66 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.0001604/0.2869, allocations: 149.7 kB / 442.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.2869, allocations: 19.86 kB / 442.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.761e-05/0.287, allocations: 30.64 kB / 442.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.287, allocations: 4 kB / 442.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.287, allocations: 0 / 442.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.287, allocations: 0 / 442.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.2881, allocations: 0.6169 MB / 443 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2881, allocations: 0 / 443 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.2885, allocations: 75.89 kB / 443.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.2885, allocations: 4 kB / 443.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.2885, allocations: 8 kB / 443.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2885, allocations: 3.938 kB / 443.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2885, allocations: 0 / 443.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000766/0.2893, allocations: 448.9 kB / 443.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.2893, allocations: 15.84 kB / 443.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.2893, allocations: 8.188 kB / 443.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.2895, allocations: 19.92 kB / 443.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.2895, allocations: 23.97 kB / 443.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2895, allocations: 4 kB / 443.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.2897, allocations: 123.5 kB / 443.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2897, allocations: 3.938 kB / 443.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000315/0.29, allocations: 56 kB / 443.8 MB, free: 11.98 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.0001295/0.2901, allocations: 103.2 kB / 443.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004901/0.2906, allocations: 192 kB / 444.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2906, allocations: 0 / 444.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.2908, allocations: 107.8 kB / 444.2 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.2912, allocations: 43.58 kB / 444.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2927, allocations: 0.8529 MB / 445.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.2932, allocations: 0.7561 MB / 445.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.389e-05/0.2932, allocations: 19.44 kB / 445.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2932, allocations: 0 / 445.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of Templates: time 0.005261/0.2985, allocations: 2.82 MB / 448.7 MB, free: 7.027 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.146065613022074]