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.001408/0.001408, allocations: 124.4 kB / 17.79 MB, free: 5.355 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.00143/0.00143, allocations: 203.3 kB / 20.74 MB, free: 2.41 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.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.24 MB / 206.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.001581/0.001581, allocations: 51.92 kB / 373.5 MB, free: 9.738 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1058, allocations: 53.32 MB / 426.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004634/0.1104, allocations: 2.453 MB / 429.2 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1121, allocations: 0.6622 MB / 429.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002522/0.1123, allocations: 7.938 kB / 429.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1125, allocations: 39.58 kB / 429.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1128, allocations: 67.36 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1132, allocations: 71.89 kB / 430.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.1136, allocations: 262.8 kB / 430.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.1138, allocations: 73.34 kB / 430.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1141, allocations: 115.6 kB / 430.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1143, allocations: 107.5 kB / 430.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.461e-05/0.1144, allocations: 20 kB / 430.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.433e-05/0.1145, allocations: 20 kB / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.317e-05/0.1145, allocations: 51.78 kB / 430.7 MB, free: 372 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1147, allocations: 119.4 kB / 430.8 MB, free: 252 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.1151, allocations: 255 kB / 431.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1151, allocations: 3.938 kB / 431.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1151, allocations: 8 kB / 431.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.1151, allocations: 0 / 431.1 MB, free: 15.98 MB / 366.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.001062/0.1162, allocations: 0.5337 MB / 431.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1162, allocations: 8.031 kB / 431.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002961/0.1165, allocations: 52.72 kB / 431.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1169, allocations: 244 kB / 431.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.117, allocations: 16.81 kB / 431.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.191e-05/0.117, allocations: 24.33 kB / 432 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.1175, allocations: 217.3 kB / 432.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.1175, allocations: 11.88 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.1176, allocations: 4 kB / 432.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.1176, allocations: 8 kB / 432.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.1179, allocations: 151.9 kB / 432.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.1193, allocations: 0.7833 MB / 433.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.1197, allocations: 189 kB / 433.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.12, allocations: 93.67 kB / 433.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.12, allocations: 8 kB / 433.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.12, allocations: 42.62 kB / 433.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.12, allocations: 0 / 433.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001842/0.1219, allocations: 0.8689 MB / 434.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.348e-05/0.122, allocations: 81.11 kB / 434.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.1222, allocations: 179.5 kB / 434.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.854e-05/0.1222, allocations: 29.7 kB / 434.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1223, allocations: 144.5 kB / 434.8 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1224, allocations: 95.12 kB / 434.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.229e-05/0.1225, allocations: 49.7 kB / 434.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1227, allocations: 334.8 kB / 435.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.1228, allocations: 63.97 kB / 435.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.123, allocations: 108.8 kB / 435.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.1234, allocations: 190 kB / 435.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1234, allocations: 4 kB / 435.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004832/0.1239, allocations: 249.2 kB / 435.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1239, allocations: 8 kB / 435.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1239, allocations: 3.938 kB / 435.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1239, allocations: 8.094 kB / 435.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.1242, allocations: 59.91 kB / 435.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1242, allocations: 0 / 435.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1243, allocations: 12 kB / 435.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1243, allocations: 11.98 kB / 435.9 MB, free: 10.78 MB / 366.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.0001372/0.1245, allocations: 145.7 kB / 436.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.738e-05/0.1245, allocations: 19.86 kB / 436.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.1246, allocations: 25.88 kB / 436.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1246, allocations: 8 kB / 436.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1246, allocations: 3.984 kB / 436.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1246, allocations: 4 kB / 436.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009152/0.1256, allocations: 0.5864 MB / 436.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1256, allocations: 0 / 436.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.1259, allocations: 60.06 kB / 436.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1259, allocations: 0 / 436.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.1259, allocations: 12 kB / 436.8 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1259, allocations: 3.938 kB / 436.8 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.1259, allocations: 7.938 kB / 436.8 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007888/0.1267, allocations: 487.6 kB / 437.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.1268, allocations: 97.05 kB / 437.4 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1268, allocations: 8 kB / 437.4 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.127, allocations: 8 kB / 437.4 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.375e-05/0.1271, allocations: 27.84 kB / 437.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1271, allocations: 8 kB / 437.4 MB, free: 9.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001233/0.1272, allocations: 140.2 kB / 437.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1272, allocations: 0 / 437.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003454/0.1275, allocations: 52 kB / 437.6 MB, free: 8.977 MB / 366.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.0001637/0.1277, allocations: 103.2 kB / 437.7 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004475/0.1281, allocations: 172.8 kB / 437.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1281, allocations: 4.188 kB / 437.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.1283, allocations: 91.84 kB / 438 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1288, allocations: 35.97 kB / 438 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.1301, allocations: 0.6947 MB / 438.7 MB, free: 7.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1306, allocations: 0.7519 MB / 439.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.946e-05/0.1307, allocations: 17.95 kB / 439.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.69e-05/0.1307, allocations: 27.42 kB / 439.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1307, allocations: 0 / 439.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of Templates: time 0.005998/0.1367, allocations: 2.098 MB / 441.6 MB, free: 4.934 MB / 366.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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.7038339599967]