Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.001322/0.001322, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.001424/0.001424, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.411/1.411, allocations: 177.1 MB / 204.7 MB, free: 8.934 MB / 190.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.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|damper2.s_rel|damper2.v_rel|springDamper3.s_rel|springDamper3.v_rel",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 62.12 kB / 325.5 MB, free: 172 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08895/0.0909, allocations: 53.39 MB / 378.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003616/0.09452, allocations: 2.286 MB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00047/0.09499, allocations: 239.1 kB / 381.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.09509, allocations: 7.938 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001362/0.09523, allocations: 39.58 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.09539, allocations: 83.27 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001613/0.09555, allocations: 55.94 kB / 381.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.09588, allocations: 294.6 kB / 381.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.09605, allocations: 58.06 kB / 382 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.09619, allocations: 119.6 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.09635, allocations: 103.4 kB / 382.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.0964, allocations: 24 kB / 382.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.525e-05/0.09644, allocations: 20 kB / 382.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.654e-05/0.0965, allocations: 55.83 kB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.09662, allocations: 111.5 kB / 382.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.09694, allocations: 294.7 kB / 382.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.09695, allocations: 4 kB / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09695, allocations: 0 / 382.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.09696, allocations: 0 / 382.7 MB, free: 11.65 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000776/0.09773, allocations: 485.5 kB / 383.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.09777, allocations: 8.031 kB / 383.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.974e-05/0.09783, allocations: 32.75 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.09813, allocations: 182.8 kB / 383.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.09815, allocations: 24.81 kB / 383.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.947e-05/0.0982, allocations: 24.38 kB / 383.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.0986, allocations: 243.1 kB / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.09862, allocations: 192 / 383.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.811e-05/0.09865, allocations: 15.94 kB / 383.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.09866, allocations: 8 kB / 383.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.09894, allocations: 163.8 kB / 383.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009929/0.09993, allocations: 0.672 MB / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.1004, allocations: 267.8 kB / 384.8 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.1007, allocations: 118.5 kB / 384.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1007, allocations: 4.219 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1007, allocations: 42.44 kB / 384.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.503e-06/0.1007, allocations: 4 kB / 384.9 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=45): time 0.002533/0.1033, allocations: 1.499 MB / 386.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1033, allocations: 110.8 kB / 386.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1035, allocations: 162.5 kB / 386.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.1035, allocations: 34.08 kB / 386.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.1036, allocations: 144.8 kB / 386.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1038, allocations: 174.5 kB / 387 MB, free: 6.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1039, allocations: 74.16 kB / 387.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.104, allocations: 342.8 kB / 387.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.1042, allocations: 88.95 kB / 387.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.1044, allocations: 163 kB / 387.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004149/0.1048, allocations: 266.1 kB / 388 MB, free: 5.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1048, allocations: 0 / 388 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0005286/0.1053, allocations: 360.5 kB / 388.3 MB, free: 5.605 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1054, allocations: 4 kB / 388.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1054, allocations: 4 kB / 388.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.1054, allocations: 11.94 kB / 388.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.1057, allocations: 91.89 kB / 388.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.1057, allocations: 4 kB / 388.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.1058, allocations: 12 kB / 388.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.1059, allocations: 16 kB / 388.4 MB, free: 5.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.000144/0.106, allocations: 145.8 kB / 388.6 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.1061, allocations: 35.81 kB / 388.6 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.6e-05/0.1062, allocations: 41.73 kB / 388.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.1062, allocations: 4 kB / 388.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1062, allocations: 0 / 388.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1062, allocations: 0 / 388.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.1076, allocations: 0.9485 MB / 389.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1076, allocations: 4 kB / 389.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003818/0.108, allocations: 87.83 kB / 389.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.108, allocations: 4 kB / 389.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.108, allocations: 16 kB / 389.7 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.108, allocations: 7.938 kB / 389.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/0.108, allocations: 7.984 kB / 389.7 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1089, allocations: 0.7215 MB / 390.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.1089, allocations: 27.98 kB / 390.5 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.1089, allocations: 19.98 kB / 390.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.1092, allocations: 8 kB / 390.5 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.1092, allocations: 27.95 kB / 390.5 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.1092, allocations: 16 kB / 390.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.561e-05/0.1093, allocations: 124.3 kB / 390.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1093, allocations: 0 / 390.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004371/0.1098, allocations: 72.09 kB / 390.8 MB, free: 3.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_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 (45): * Single equations (assignments): 45 * 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.0001312/0.1099, allocations: 126.9 kB / 390.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004372/0.1103, allocations: 251.7 kB / 391.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.1103, allocations: 8 kB / 391.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.1105, allocations: 135.6 kB / 391.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006826/0.1112, allocations: 71.62 kB / 391.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.1126, allocations: 0.8935 MB / 392.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.1128, allocations: 163.9 kB / 392.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.1129, allocations: 34.97 kB / 392.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.113, allocations: 28.5 kB / 392.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.113, allocations: 0 / 392.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006926/0.1199, allocations: 2.94 MB / 395.4 MB, free: 14.36 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Damper.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.202010852051899]