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.001025/0.001025, allocations: 110.6 kB / 16.62 MB, free: 6.961 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.0009524/0.0009524, allocations: 190 kB / 17.54 MB, free: 6.066 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.313/1.313, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009638/0.0009638, allocations: 47.64 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.0955, allocations: 49.45 MB / 349.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003468/0.09901, allocations: 2.468 MB / 352 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.09988, allocations: 0.5766 MB / 352.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1, allocations: 7.938 kB / 352.6 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001316/0.1002, allocations: 27.77 kB / 352.6 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.1003, allocations: 55.55 kB / 352.7 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002111/0.1005, allocations: 51.95 kB / 352.8 MB, free: 1.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1008, allocations: 254.8 kB / 353 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.101, allocations: 97.33 kB / 353.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1011, allocations: 99.59 kB / 353.2 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1013, allocations: 103.5 kB / 353.3 MB, free: 1.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1013, allocations: 20 kB / 353.3 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.376e-05/0.1014, allocations: 20 kB / 353.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.1014, allocations: 55.81 kB / 353.4 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.1015, allocations: 115.4 kB / 353.5 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.1018, allocations: 259.3 kB / 353.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1018, allocations: 0 / 353.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1018, allocations: 0 / 353.8 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1018, allocations: 0 / 353.8 MB, free: 0.5508 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.0007344/0.1025, allocations: 0.5068 MB / 354.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1026, allocations: 19.89 kB / 354.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.1026, allocations: 24.66 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1029, allocations: 244.5 kB / 354.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1029, allocations: 12.81 kB / 354.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.1029, allocations: 24.28 kB / 354.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.1033, allocations: 217.3 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1034, allocations: 4 kB / 354.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.1034, allocations: 11.98 kB / 354.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1034, allocations: 11.94 kB / 354.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.1037, allocations: 143.9 kB / 355 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.1048, allocations: 0.7869 MB / 355.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.1053, allocations: 205 kB / 355.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.1055, allocations: 101.7 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1055, allocations: 4 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.1056, allocations: 38.69 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.1056, allocations: 4 kB / 356.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001624/0.1072, allocations: 0.8558 MB / 356.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1073, allocations: 85.11 kB / 357 MB, free: 12.97 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1074, allocations: 178.3 kB / 357.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.1075, allocations: 29.7 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1076, allocations: 148.2 kB / 357.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.247e-05/0.1076, allocations: 86.66 kB / 357.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.1077, allocations: 49.7 kB / 357.5 MB, free: 12.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1079, allocations: 334.8 kB / 357.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.108, allocations: 59.97 kB / 357.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1082, allocations: 112.7 kB / 358 MB, free: 11.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1085, allocations: 200.1 kB / 358.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1085, allocations: 0 / 358.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004168/0.1089, allocations: 247.9 kB / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.109, allocations: 8 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.109, allocations: 0 / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.109, allocations: 4 kB / 358.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1093, allocations: 59.91 kB / 358.5 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.1093, allocations: 8.094 kB / 358.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1094, allocations: 11.94 kB / 358.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1094, allocations: 12.38 kB / 358.5 MB, free: 11.39 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.0001158/0.1095, allocations: 141.7 kB / 358.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.1096, allocations: 15.81 kB / 358.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.1097, allocations: 25.88 kB / 358.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1097, allocations: 4 kB / 358.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1097, allocations: 0 / 358.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1097, allocations: 3.984 kB / 358.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007674/0.1105, allocations: 0.5826 MB / 359.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1105, allocations: 3.984 kB / 359.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.1108, allocations: 63.94 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.1108, allocations: 4 kB / 359.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1108, allocations: 8 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1108, allocations: 0 / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.458e-06/0.1108, allocations: 7.938 kB / 359.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006094/0.1114, allocations: 488.9 kB / 359.9 MB, free: 9.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1115, allocations: 92.92 kB / 360 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1116, allocations: 12.03 kB / 360 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.1117, allocations: 8 kB / 360 MB, free: 9.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.1118, allocations: 27.89 kB / 360 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1118, allocations: 4 kB / 360 MB, free: 9.793 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.869e-05/0.1119, allocations: 136.3 kB / 360.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1119, allocations: 0 / 360.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1123, allocations: 52 kB / 360.2 MB, free: 9.609 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.0001212/0.1124, allocations: 115.6 kB / 360.3 MB, free: 9.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.1128, allocations: 187.8 kB / 360.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1128, allocations: 12.06 kB / 360.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.113, allocations: 95.14 kB / 360.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.1135, allocations: 44.05 kB / 360.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1147, allocations: 0.7737 MB / 361.4 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.115, allocations: 0.7517 MB / 362.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.689e-05/0.1151, allocations: 17.95 kB / 362.2 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.1152, allocations: 19.44 kB / 362.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1152, allocations: 4 kB / 362.2 MB, free: 7.531 MB / 302.1 MB Notification: Performance of Templates: time 0.004947/0.1201, allocations: 1.97 MB / 364.2 MB, free: 5.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","/var/lib/jenkins/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