Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.001888/0.001888, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002197/0.002197, allocations: 168.2 kB / 24.5 MB, free: 3.453 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.48/1.48, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.78 kB / 325.6 MB, free: 296 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09923, allocations: 53.33 MB / 378.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003787/0.103, allocations: 2.312 MB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1041, allocations: 0.6349 MB / 381.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.1042, allocations: 7.938 kB / 381.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1044, allocations: 39.59 kB / 381.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.1045, allocations: 71.34 kB / 381.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.1048, allocations: 71.91 kB / 382 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003065/0.1051, allocations: 262.8 kB / 382.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1052, allocations: 61.7 kB / 382.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.1055, allocations: 119.6 kB / 382.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.1056, allocations: 87.55 kB / 382.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.1057, allocations: 20 kB / 382.6 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.1057, allocations: 28 kB / 382.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.276e-05/0.1058, allocations: 55.77 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1059, allocations: 95.58 kB / 382.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.1062, allocations: 266.8 kB / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1062, allocations: 0 / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1062, allocations: 0 / 383 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.1062, allocations: 0 / 383 MB, free: 11.59 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007606/0.107, allocations: 465.6 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.107, allocations: 11.97 kB / 383.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.1073, allocations: 48.72 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1075, allocations: 182.2 kB / 383.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1076, allocations: 12.88 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.1076, allocations: 24.33 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.108, allocations: 222.1 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.108, allocations: 4 kB / 383.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.1081, allocations: 8 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1081, allocations: 11.94 kB / 384 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.1084, allocations: 143.9 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.1095, allocations: 0.6585 MB / 384.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.1099, allocations: 193 kB / 384.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.1101, allocations: 93.66 kB / 385 MB, free: 9.406 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1102, allocations: 8 kB / 385 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1102, allocations: 34.56 kB / 385.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.1102, allocations: 0 / 385.1 MB, free: 9.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001518/0.1117, allocations: 0.7232 MB / 385.8 MB, free: 8.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1118, allocations: 85.05 kB / 385.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1119, allocations: 167.3 kB / 386.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1119, allocations: 29.7 kB / 386.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/0.112, allocations: 152.4 kB / 386.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/0.1121, allocations: 95.31 kB / 386.3 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.176e-05/0.1122, allocations: 49.7 kB / 386.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1123, allocations: 326.8 kB / 386.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.1125, allocations: 67.95 kB / 386.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.1127, allocations: 113.3 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.113, allocations: 180.5 kB / 387 MB, free: 7.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.113, allocations: 0 / 387 MB, free: 7.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004628/0.1135, allocations: 264.2 kB / 387.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1135, allocations: 4 kB / 387.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1135, allocations: 0 / 387.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1135, allocations: 4 kB / 387.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.1138, allocations: 63.91 kB / 387.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.1138, allocations: 4 kB / 387.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1139, allocations: 11.98 kB / 387.4 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1139, allocations: 15.94 kB / 387.4 MB, free: 6.895 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 32 * 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.0001215/0.1141, allocations: 133.8 kB / 387.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.1141, allocations: 31.86 kB / 387.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.514e-05/0.1142, allocations: 25.81 kB / 387.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1142, allocations: 3.984 kB / 387.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1142, allocations: 4 kB / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1142, allocations: 0 / 387.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.115, allocations: 496.3 kB / 388.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.115, allocations: 0 / 388.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1153, allocations: 63.91 kB / 388.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1153, allocations: 4.094 kB / 388.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.1153, allocations: 8 kB / 388.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1153, allocations: 0 / 388.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1153, allocations: 7.938 kB / 388.2 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.116, allocations: 493.6 kB / 388.6 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.116, allocations: 23.89 kB / 388.7 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.116, allocations: 4 kB / 388.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.1162, allocations: 8 kB / 388.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.1163, allocations: 27.84 kB / 388.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1163, allocations: 12 kB / 388.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.727e-05/0.1164, allocations: 127.2 kB / 388.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1164, allocations: 0 / 388.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000348/0.1167, allocations: 52 kB / 388.9 MB, free: 5.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * 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.0001184/0.1168, allocations: 95.25 kB / 389 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003932/0.1172, allocations: 175.9 kB / 389.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1172, allocations: 0 / 389.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1174, allocations: 91.83 kB / 389.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1179, allocations: 35.98 kB / 389.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.119, allocations: 0.6845 MB / 390 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.1192, allocations: 141.8 kB / 390.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.765e-05/0.1192, allocations: 25.94 kB / 390.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.1193, allocations: 24.48 kB / 390.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1193, allocations: 0 / 390.2 MB, free: 3.984 MB / 350.1 MB Notification: Performance of Templates: time 0.005481/0.1248, allocations: 1.976 MB / 392.1 MB, free: 2.043 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.Oscillator.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.268027652055025]