Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002461/0.002461, allocations: 99.86 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002798/0.002798, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 173.3 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.921e-05, allocations: 2.312 kB / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004593/0.004622, allocations: 2.431 MB / 269.7 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.005802, allocations: 0.5687 MB / 270.3 MB, free: 3.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.005927, allocations: 7.938 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.00609, allocations: 35.59 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.006281, allocations: 87.25 kB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.006475, allocations: 63.91 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003937/0.006869, allocations: 306.4 kB / 270.8 MB, free: 3.23 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.007064, allocations: 71.11 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.007333, allocations: 171.7 kB / 271 MB, free: 2.992 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.007514, allocations: 95.69 kB / 271.1 MB, free: 2.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.03e-05/0.007564, allocations: 24 kB / 271.1 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.202e-05/0.007616, allocations: 20 kB / 271.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.981e-05/0.007686, allocations: 55.77 kB / 271.2 MB, free: 2.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.00782, allocations: 103.8 kB / 271.3 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.008253, allocations: 299 kB / 271.6 MB, free: 2.406 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.008257, allocations: 3.984 kB / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.008259, allocations: 0 / 271.6 MB, free: 2.402 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.008264, allocations: 0 / 271.6 MB, free: 2.402 MB / 250.7 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.0009055/0.00917, allocations: 0.5739 MB / 272.2 MB, free: 1.793 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.009209, allocations: 16.86 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.009308, allocations: 48.75 kB / 272.2 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.009615, allocations: 188.8 kB / 272.4 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.009648, allocations: 21.03 kB / 272.5 MB, free: 1.496 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/0.009708, allocations: 36.36 kB / 272.5 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.01016, allocations: 210.7 kB / 272.7 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.01018, allocations: 11.83 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.01021, allocations: 12 kB / 272.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01022, allocations: 4 kB / 272.7 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003745/0.01059, allocations: 158.5 kB / 272.9 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.0119, allocations: 0.6947 MB / 273.6 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004964/0.01239, allocations: 210.1 kB / 273.8 MB, free: 124 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.01261, allocations: 103.3 kB / 273.9 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.01263, allocations: 8 kB / 273.9 MB, free: 12 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.01268, allocations: 33.39 kB / 273.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.292e-06/0.01268, allocations: 0 / 273.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=28): time 0.001679/0.01436, allocations: 0.803 MB / 274.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.01455, allocations: 55.41 kB / 274.8 MB, free: 15.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.01474, allocations: 213.9 kB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.01477, allocations: 29.7 kB / 275 MB, free: 14.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.01492, allocations: 199.4 kB / 275.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.01502, allocations: 115.1 kB / 275.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.01512, allocations: 59.36 kB / 275.4 MB, free: 14.4 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000274/0.01539, allocations: 0.5079 MB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.01557, allocations: 71.97 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.01579, allocations: 130.4 kB / 276.1 MB, free: 13.66 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.01618, allocations: 214.6 kB / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01619, allocations: 0 / 276.3 MB, free: 13.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004889/0.01667, allocations: 261.4 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.01669, allocations: 8.094 kB / 276.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.0167, allocations: 4 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.01672, allocations: 4 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.01701, allocations: 67.91 kB / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01701, allocations: 0 / 276.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01713, allocations: 15.98 kB / 276.6 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.01715, allocations: 8 kB / 276.7 MB, free: 13.07 MB / 266.7 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.0001757/0.01732, allocations: 184.5 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.01738, allocations: 31.84 kB / 276.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.01747, allocations: 21.97 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.01748, allocations: 8 kB / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01748, allocations: 0 / 276.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.01749, allocations: 3.984 kB / 276.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.01854, allocations: 0.6415 MB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.01855, allocations: 3.984 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.01887, allocations: 67.91 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.01888, allocations: 4 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.0189, allocations: 8.062 kB / 277.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.0189, allocations: 4 kB / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.0189, allocations: 0 / 277.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007408/0.01964, allocations: 486 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/0.01967, allocations: 15.91 kB / 278.1 MB, free: 11.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.0197, allocations: 11.94 kB / 278.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.01983, allocations: 8 kB / 278.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.01989, allocations: 23.95 kB / 278.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.01991, allocations: 4 kB / 278.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.02003, allocations: 161 kB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02003, allocations: 3.938 kB / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.02034, allocations: 63.94 kB / 278.4 MB, free: 11.24 MB / 266.7 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.0001336/0.02048, allocations: 107.2 kB / 278.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.02091, allocations: 200 kB / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.02091, allocations: 0 / 278.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.02111, allocations: 111.8 kB / 278.8 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.02155, allocations: 59.89 kB / 278.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.02285, allocations: 0.6889 MB / 279.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.02301, allocations: 142.5 kB / 279.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.572e-05/0.02309, allocations: 21.94 kB / 279.7 MB, free: 9.848 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.02315, allocations: 20.5 kB / 279.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of SimCode: time 4.4e-07/0.02316, allocations: 0 / 279.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of Templates: time 0.00644/0.02959, allocations: 2.123 MB / 281.8 MB, free: 7.738 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.415113208000548]