Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 73.41 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 160.1 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.73 kB / 325.5 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08934, allocations: 53.34 MB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.004006/0.09335, allocations: 2.32 MB / 381.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.09455, allocations: 0.5843 MB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.0947, allocations: 8 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.09485, allocations: 39.58 kB / 381.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.09503, allocations: 79.27 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.09522, allocations: 59.94 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.09556, allocations: 294.6 kB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.09575, allocations: 87.2 kB / 382.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.09591, allocations: 115.6 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.09607, allocations: 111.4 kB / 382.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.09612, allocations: 24 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.09617, allocations: 24 kB / 382.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.09622, allocations: 55.77 kB / 382.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.09635, allocations: 111.5 kB / 382.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.09672, allocations: 290.8 kB / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.09672, allocations: 0 / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.09672, allocations: 0 / 383.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.09673, allocations: 0 / 383.1 MB, free: 11.47 MB / 350.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.0008204/0.09755, allocations: 489.7 kB / 383.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.09759, allocations: 12.02 kB / 383.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.09765, allocations: 32.75 kB / 383.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.09797, allocations: 177.9 kB / 383.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.098, allocations: 17.03 kB / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.09806, allocations: 36.12 kB / 383.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.09858, allocations: 230 kB / 384 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.0986, allocations: 7.953 kB / 384 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.09862, allocations: 12 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.09863, allocations: 8 kB / 384.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004162/0.09905, allocations: 174.4 kB / 384.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.1002, allocations: 0.6016 MB / 384.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.1007, allocations: 198.6 kB / 385 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.1009, allocations: 105.5 kB / 385.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.101, allocations: 7.938 kB / 385.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.101, allocations: 34.56 kB / 385.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/0.101, allocations: 0 / 385.2 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.001804/0.1028, allocations: 0.8198 MB / 386 MB, free: 8.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1028, allocations: 51.41 kB / 386 MB, free: 8.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.103, allocations: 141.4 kB / 386.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.103, allocations: 33.7 kB / 386.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1031, allocations: 148.7 kB / 386.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.1032, allocations: 103.1 kB / 386.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.1033, allocations: 53.7 kB / 386.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.1035, allocations: 326.8 kB / 386.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/0.1037, allocations: 71.95 kB / 386.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.1039, allocations: 119.9 kB / 387 MB, free: 7.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1043, allocations: 207.3 kB / 387.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1043, allocations: 0 / 387.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005251/0.1048, allocations: 261.4 kB / 387.5 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.1048, allocations: 10.97 kB / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1048, allocations: 0 / 387.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1049, allocations: 3.984 kB / 387.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002999/0.1052, allocations: 75.91 kB / 387.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1052, allocations: 4 kB / 387.6 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1053, allocations: 11.98 kB / 387.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1053, allocations: 12 kB / 387.6 MB, free: 6.703 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.0001428/0.1055, allocations: 148 kB / 387.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.1055, allocations: 19.86 kB / 387.8 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.1056, allocations: 25.95 kB / 387.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.1056, allocations: 4 kB / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1056, allocations: 0 / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1056, allocations: 0 / 387.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009811/0.1066, allocations: 0.5624 MB / 388.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1066, allocations: 4.062 kB / 388.4 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.1069, allocations: 71.89 kB / 388.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1069, allocations: 0 / 388.4 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.1069, allocations: 8 kB / 388.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1069, allocations: 0 / 388.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.1069, allocations: 4 kB / 388.4 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.1077, allocations: 439.4 kB / 388.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.1078, allocations: 27.92 kB / 388.9 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1078, allocations: 4 kB / 388.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.1079, allocations: 11.98 kB / 388.9 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.108, allocations: 27.97 kB / 388.9 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.108, allocations: 12 kB / 388.9 MB, free: 5.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.1081, allocations: 107.2 kB / 389 MB, free: 5.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1081, allocations: 0 / 389 MB, free: 5.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.1084, allocations: 60 kB / 389.1 MB, free: 5.105 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.0001178/0.1085, allocations: 103.2 kB / 389.2 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004532/0.109, allocations: 188.1 kB / 389.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.109, allocations: 0 / 389.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1092, allocations: 104 kB / 389.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1096, allocations: 47.89 kB / 389.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.111, allocations: 0.8121 MB / 390.4 MB, free: 3.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001548/0.1112, allocations: 150.4 kB / 390.5 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.919e-05/0.1113, allocations: 17.94 kB / 390.5 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.605e-05/0.1113, allocations: 20.5 kB / 390.5 MB, free: 3.609 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1113, allocations: 4 kB / 390.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of Templates: time 0.005541/0.1169, allocations: 2.093 MB / 392.6 MB, free: 1.539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & ./Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.193689220934175]