Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|damper1.s_rel|damper1.v_rel|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 110.2 kB / 17.17 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.8 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 52.83 kB / 300.6 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09462, allocations: 49.45 MB / 350.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.004654/0.09933, allocations: 2.46 MB / 352.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1004, allocations: 0.5727 MB / 353.1 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.1007, allocations: 4 kB / 353.1 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1009, allocations: 27.78 kB / 353.1 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002078/0.1011, allocations: 63.47 kB / 353.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.1014, allocations: 47.95 kB / 353.2 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.1018, allocations: 242.9 kB / 353.5 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.102, allocations: 77.92 kB / 353.5 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1022, allocations: 99.56 kB / 353.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.1024, allocations: 99.55 kB / 353.7 MB, free: 1.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.333e-05/0.1025, allocations: 12 kB / 353.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.548e-05/0.1025, allocations: 16 kB / 353.8 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.045e-05/0.1026, allocations: 39.84 kB / 353.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1028, allocations: 115.4 kB / 353.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002274/0.103, allocations: 191.8 kB / 354.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.103, allocations: 0 / 354.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.103, allocations: 0 / 354.1 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.103, allocations: 0 / 354.1 MB, free: 0.6758 MB / 286.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.0008615/0.1039, allocations: 0.5185 MB / 354.6 MB, free: 112 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.1039, allocations: 8.031 kB / 354.6 MB, free: 104 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.104, allocations: 28.66 kB / 354.7 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.1043, allocations: 240.5 kB / 354.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1044, allocations: 12.81 kB / 354.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.1044, allocations: 24.28 kB / 354.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.1049, allocations: 225.2 kB / 355.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.1049, allocations: 3.984 kB / 355.2 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1049, allocations: 8 kB / 355.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.1049, allocations: 8 kB / 355.2 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/0.1053, allocations: 147.9 kB / 355.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1066, allocations: 0.7831 MB / 356.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004251/0.107, allocations: 201 kB / 356.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002451/0.1073, allocations: 105.6 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1073, allocations: 4.156 kB / 356.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.1074, allocations: 42.62 kB / 356.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.734e-06/0.1074, allocations: 0 / 356.4 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001645/0.109, allocations: 0.8573 MB / 357.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.1091, allocations: 85.09 kB / 357.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1093, allocations: 182.2 kB / 357.6 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1093, allocations: 37.69 kB / 357.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1094, allocations: 136.3 kB / 357.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.1095, allocations: 94.64 kB / 357.8 MB, free: 12.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.1096, allocations: 49.69 kB / 357.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1097, allocations: 330.8 kB / 358.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1099, allocations: 59.97 kB / 358.3 MB, free: 12.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1101, allocations: 120.2 kB / 358.4 MB, free: 12.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1104, allocations: 184.4 kB / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1104, allocations: 0 / 358.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004313/0.1109, allocations: 252.6 kB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1109, allocations: 4 kB / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1109, allocations: 0 / 358.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1109, allocations: 4 kB / 358.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.1112, allocations: 63.91 kB / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1112, allocations: 0 / 358.9 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.1114, allocations: 20.02 kB / 358.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.1114, allocations: 8 kB / 358.9 MB, free: 11.51 MB / 302.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.0001322/0.1115, allocations: 142.2 kB / 359 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.1116, allocations: 19.81 kB / 359.1 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.1117, allocations: 29.81 kB / 359.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.1117, allocations: 7.969 kB / 359.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1117, allocations: 4 kB / 359.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.1117, allocations: 0 / 359.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008799/0.1126, allocations: 0.5942 MB / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1126, allocations: 4 kB / 359.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.1129, allocations: 51.97 kB / 359.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1129, allocations: 0 / 359.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.1129, allocations: 19.97 kB / 359.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.1129, allocations: 4 kB / 359.8 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.113, allocations: 3.938 kB / 359.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006916/0.1137, allocations: 492.3 kB / 360.3 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.372e-05/0.1137, allocations: 96.89 kB / 360.3 MB, free: 9.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1138, allocations: 8 kB / 360.4 MB, free: 9.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.114, allocations: 8 kB / 360.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/0.114, allocations: 23.91 kB / 360.4 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1141, allocations: 8 kB / 360.4 MB, free: 9.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1142, allocations: 136.3 kB / 360.5 MB, free: 9.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1142, allocations: 4 kB / 360.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.1145, allocations: 48 kB / 360.6 MB, free: 9.715 MB / 302.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.0001232/0.1147, allocations: 115.1 kB / 360.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.1151, allocations: 167.9 kB / 360.9 MB, free: 9.426 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1151, allocations: 3.938 kB / 360.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.1153, allocations: 96.22 kB / 361 MB, free: 9.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.1158, allocations: 35.97 kB / 361 MB, free: 9.293 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.1171, allocations: 0.7966 MB / 361.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1175, allocations: 0.7521 MB / 362.5 MB, free: 7.676 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.1176, allocations: 23.38 kB / 362.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1176, allocations: 4 kB / 362.6 MB, free: 7.648 MB / 302.1 MB Notification: Performance of Templates: time 0.004957/0.1225, allocations: 2.591 MB / 365.2 MB, free: 5.062 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches