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.001304/0.001304, allocations: 101 kB / 17.59 MB, free: 5.422 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.001331/0.001332, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.33/1.33, allocations: 222.9 MB / 242.2 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009936/0.0009937, allocations: 48.02 kB / 301.3 MB, free: 5.922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09172, allocations: 49.44 MB / 350.7 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00403/0.09578, allocations: 2.418 MB / 353.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.09695, allocations: 0.5765 MB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.09717, allocations: 4 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.09738, allocations: 39.59 kB / 353.8 MB, free: 1.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.09759, allocations: 59.42 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.09787, allocations: 67.84 kB / 353.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003368/0.09822, allocations: 246.9 kB / 354.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.09845, allocations: 97.34 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.09864, allocations: 103.6 kB / 354.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.09882, allocations: 107.5 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.09886, allocations: 20 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.09892, allocations: 20 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.665e-05/0.09897, allocations: 51.83 kB / 354.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.09909, allocations: 119.4 kB / 354.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.09937, allocations: 247.3 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.09939, allocations: 0 / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.0994, allocations: 0 / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.09941, allocations: 0 / 354.9 MB, free: 284 kB / 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.0008457/0.1003, allocations: 0.5262 MB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1003, allocations: 11.89 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.1004, allocations: 24.66 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1006, allocations: 237.8 kB / 355.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1007, allocations: 16.81 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1007, allocations: 24.28 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.1012, allocations: 229.3 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.1012, allocations: 3.938 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1012, allocations: 4 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1012, allocations: 8 kB / 355.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003273/0.1016, allocations: 140.4 kB / 356.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.1028, allocations: 0.7948 MB / 356.9 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.1033, allocations: 203.5 kB / 357.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.1035, allocations: 105.9 kB / 357.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1035, allocations: 4 kB / 357.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1036, allocations: 38.69 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.553e-06/0.1036, allocations: 3.938 kB / 357.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001757/0.1053, allocations: 0.8589 MB / 358.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1054, allocations: 81.11 kB / 358.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1056, allocations: 174.3 kB / 358.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1056, allocations: 29.7 kB / 358.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.957e-05/0.1057, allocations: 152.3 kB / 358.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.1058, allocations: 90.66 kB / 358.6 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.1059, allocations: 45.7 kB / 358.6 MB, free: 12.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.106, allocations: 330.8 kB / 359 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1062, allocations: 67.97 kB / 359 MB, free: 11.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.1063, allocations: 112.7 kB / 359.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1067, allocations: 198.6 kB / 359.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1067, allocations: 0 / 359.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004369/0.1071, allocations: 256.2 kB / 359.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1072, allocations: 4 kB / 359.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1072, allocations: 0 / 359.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1072, allocations: 4 kB / 359.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.1075, allocations: 63.89 kB / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1075, allocations: 0 / 359.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.1076, allocations: 15.94 kB / 359.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1076, allocations: 8 kB / 359.7 MB, free: 11.1 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.0001166/0.1078, allocations: 145.8 kB / 359.8 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.1078, allocations: 15.81 kB / 359.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.1079, allocations: 29.86 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.1079, allocations: 4 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1079, allocations: 0 / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1079, allocations: 7.984 kB / 359.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008159/0.1088, allocations: 0.5786 MB / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1088, allocations: 4 kB / 360.5 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.1091, allocations: 55.97 kB / 360.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1091, allocations: 0 / 360.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.1091, allocations: 11.98 kB / 360.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1091, allocations: 4 kB / 360.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1091, allocations: 7.875 kB / 360.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006292/0.1098, allocations: 489.1 kB / 361 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.1098, allocations: 92.92 kB / 361.1 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.1099, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.11, allocations: 12.03 kB / 361.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/0.1101, allocations: 19.86 kB / 361.2 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.1101, allocations: 12 kB / 361.2 MB, free: 9.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1103, allocations: 132.3 kB / 361.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1103, allocations: 0 / 361.3 MB, free: 9.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003593/0.1106, allocations: 48 kB / 361.3 MB, free: 9.32 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.0001275/0.1108, allocations: 119.1 kB / 361.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004414/0.1112, allocations: 187.8 kB / 361.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1112, allocations: 3.938 kB / 361.6 MB, free: 9.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.1114, allocations: 95.83 kB / 361.7 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.112, allocations: 52.22 kB / 361.8 MB, free: 8.863 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1133, allocations: 0.7245 MB / 362.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1136, allocations: 0.7478 MB / 363.3 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.113e-05/0.1137, allocations: 23.42 kB / 363.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1137, allocations: 0 / 363.3 MB, free: 7.297 MB / 302.1 MB Notification: Performance of Templates: time 0.00499/0.1187, allocations: 2.595 MB / 365.9 MB, free: 4.703 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