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.001775/0.001775, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 14.72 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.002145/0.002145, allocations: 156.9 kB / 24.48 MB, free: 3.465 MB / 14.72 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.422/1.422, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 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 0.001571/0.001571, allocations: 46.67 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.09127, allocations: 52.17 MB / 371.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.003926/0.09519, allocations: 2.308 MB / 373.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.09646, allocations: 0.5454 MB / 374.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.09658, allocations: 7.938 kB / 374.4 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.09679, allocations: 39.59 kB / 374.5 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.09696, allocations: 79.27 kB / 374.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/0.09713, allocations: 59.92 kB / 374.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.09749, allocations: 298.6 kB / 374.9 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.09769, allocations: 75.3 kB / 375 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.09785, allocations: 119.6 kB / 375.1 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.09802, allocations: 103.5 kB / 375.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.118e-05/0.09806, allocations: 28 kB / 375.2 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.223e-05/0.09811, allocations: 24 kB / 375.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.29e-05/0.09818, allocations: 51.84 kB / 375.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.09831, allocations: 115.5 kB / 375.4 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.09871, allocations: 298.7 kB / 375.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.09871, allocations: 0 / 375.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.09872, allocations: 0 / 375.7 MB, free: 3.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.09872, allocations: 0 / 375.7 MB, free: 3.223 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.0008942/0.09962, allocations: 485.7 kB / 376.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.09966, allocations: 8.922 kB / 376.2 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.268e-05/0.09972, allocations: 32.75 kB / 376.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1001, allocations: 182.6 kB / 376.4 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.1001, allocations: 21.03 kB / 376.4 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.638e-05/0.1002, allocations: 28.12 kB / 376.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004701/0.1006, allocations: 226.1 kB / 376.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1007, allocations: 0 / 376.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.1007, allocations: 12 kB / 376.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.1007, allocations: 8 kB / 376.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.1011, allocations: 178.4 kB / 376.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1023, allocations: 0.5977 MB / 377.4 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.1028, allocations: 202.5 kB / 377.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000238/0.103, allocations: 104.3 kB / 377.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.1031, allocations: 7.938 kB / 377.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.1031, allocations: 42.55 kB / 377.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.1031, allocations: 0 / 377.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=28): time 0.001791/0.1049, allocations: 0.8086 MB / 378.6 MB, free: 148 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.105, allocations: 59.41 kB / 378.7 MB, free: 76 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1051, allocations: 148.9 kB / 378.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.1051, allocations: 29.7 kB / 378.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1053, allocations: 152.6 kB / 379 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.184e-05/0.1053, allocations: 99.11 kB / 379.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.102e-05/0.1054, allocations: 53.7 kB / 379.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1056, allocations: 326.8 kB / 379.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.1058, allocations: 71.95 kB / 379.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1061, allocations: 127.1 kB / 379.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.1065, allocations: 203.2 kB / 379.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1065, allocations: 4 kB / 379.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005189/0.107, allocations: 265.5 kB / 380.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.107, allocations: 8 kB / 380.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.107, allocations: 3.938 kB / 380.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.1071, allocations: 4 kB / 380.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1074, allocations: 71.95 kB / 380.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.1074, allocations: 11.92 kB / 380.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.1075, allocations: 11.98 kB / 380.2 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1075, allocations: 8 kB / 380.2 MB, free: 14.44 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.0001448/0.1077, allocations: 145.7 kB / 380.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/0.1077, allocations: 19.94 kB / 380.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.1078, allocations: 17.97 kB / 380.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1078, allocations: 4 kB / 380.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1078, allocations: 3.984 kB / 380.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1078, allocations: 0 / 380.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.1088, allocations: 0.5633 MB / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1088, allocations: 0 / 381 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003724/0.1092, allocations: 75.95 kB / 381 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1092, allocations: 3.984 kB / 381 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.1092, allocations: 8 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1092, allocations: 0 / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1092, allocations: 4 kB / 381.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.1099, allocations: 443.3 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.11, allocations: 19.89 kB / 381.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.11, allocations: 8.062 kB / 381.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.1101, allocations: 12 kB / 381.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.1102, allocations: 27.89 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.1102, allocations: 4 kB / 381.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.235e-05/0.1103, allocations: 107.3 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1103, allocations: 7.938 kB / 381.7 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003108/0.1106, allocations: 56 kB / 381.7 MB, free: 12.85 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.0001173/0.1107, allocations: 111.1 kB / 381.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004806/0.1112, allocations: 191.8 kB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1112, allocations: 0 / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002108/0.1114, allocations: 99.83 kB / 382.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.1119, allocations: 36.11 kB / 382.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.1133, allocations: 0.8115 MB / 383 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.1134, allocations: 142.5 kB / 383.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.419e-05/0.1135, allocations: 17.94 kB / 383.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1136, allocations: 24.5 kB / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1136, allocations: 0 / 383.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Templates: time 0.006225/0.1198, allocations: 2.098 MB / 385.2 MB, free: 9.305 MB / 350.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/ElasticBearing/ElasticBearing.csv","/var/lib/jenkins1/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.270088666933589]