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.001132/0.001132, allocations: 112.8 kB / 17.68 MB, free: 5.332 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.00101/0.00101, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.364/1.364, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009753/0.0009754, allocations: 54.89 kB / 302 MB, free: 5.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09168/0.09268, allocations: 49.44 MB / 351.5 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003536/0.09625, allocations: 2.418 MB / 353.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.09718, allocations: 0.5765 MB / 354.5 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.09733, allocations: 7.938 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.09747, allocations: 35.66 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.09761, allocations: 75.28 kB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.09782, allocations: 55.92 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.09809, allocations: 254.8 kB / 354.9 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.09828, allocations: 97.34 kB / 355 MB, free: 148 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.09842, allocations: 91.66 kB / 355.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.09859, allocations: 115.5 kB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.09863, allocations: 20 kB / 355.2 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.09867, allocations: 24 kB / 355.2 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.09872, allocations: 47.84 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.09884, allocations: 111.4 kB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.09911, allocations: 254.9 kB / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.09912, allocations: 0 / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.09913, allocations: 0 / 355.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.09915, allocations: 4 kB / 355.6 MB, free: 15.49 MB / 302.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.0007527/0.09991, allocations: 0.5185 MB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.09995, allocations: 11.89 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.1, allocations: 32.64 kB / 356.2 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1003, allocations: 237.7 kB / 356.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1003, allocations: 12.81 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.1004, allocations: 28.28 kB / 356.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003741/0.1007, allocations: 225.3 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1008, allocations: 4 kB / 356.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.1008, allocations: 8 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1008, allocations: 4 kB / 356.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.1011, allocations: 148.3 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.1022, allocations: 0.783 MB / 357.6 MB, free: 13.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.1026, allocations: 209 kB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.1028, allocations: 101.7 kB / 358 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/0.1028, allocations: 12.14 kB / 358 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1028, allocations: 34.69 kB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.1028, allocations: 0 / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001428/0.1043, allocations: 0.8506 MB / 358.8 MB, free: 12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.1043, allocations: 85.05 kB / 358.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1045, allocations: 178.3 kB / 359.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1045, allocations: 33.7 kB / 359.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.1046, allocations: 144.3 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.061e-05/0.1047, allocations: 98.58 kB / 359.4 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.1048, allocations: 49.7 kB / 359.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1049, allocations: 330.8 kB / 359.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.105, allocations: 67.91 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1052, allocations: 112.7 kB / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.1055, allocations: 180.2 kB / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1055, allocations: 0 / 360.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003976/0.1059, allocations: 256 kB / 360.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.106, allocations: 4 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.106, allocations: 0 / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.106, allocations: 4 kB / 360.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.1062, allocations: 63.91 kB / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1063, allocations: 0 / 360.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.1064, allocations: 19.92 kB / 360.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1064, allocations: 8 kB / 360.4 MB, free: 10.32 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.0001161/0.1065, allocations: 145.8 kB / 360.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.1066, allocations: 19.81 kB / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.1066, allocations: 29.86 kB / 360.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1067, allocations: 0 / 360.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1067, allocations: 4 kB / 360.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1067, allocations: 0 / 360.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007647/0.1074, allocations: 0.5864 MB / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1075, allocations: 0 / 361.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1077, allocations: 59.91 kB / 361.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.1077, allocations: 0 / 361.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1078, allocations: 8 kB / 361.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1078, allocations: 0 / 361.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1078, allocations: 11.94 kB / 361.3 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.1084, allocations: 497 kB / 361.8 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1085, allocations: 97.02 kB / 361.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.1085, allocations: 7.984 kB / 361.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.1087, allocations: 16.03 kB / 361.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1087, allocations: 19.92 kB / 361.9 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1087, allocations: 4 kB / 361.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.205e-05/0.1088, allocations: 140.3 kB / 362.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1089, allocations: 0 / 362.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.1092, allocations: 48 kB / 362.1 MB, free: 8.527 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.0001119/0.1093, allocations: 111.1 kB / 362.2 MB, free: 8.406 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003519/0.1097, allocations: 179.7 kB / 362.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1097, allocations: 0 / 362.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.1098, allocations: 99.83 kB / 362.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.1103, allocations: 36.61 kB / 362.5 MB, free: 8.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1113, allocations: 0.7012 MB / 363.2 MB, free: 7.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.1116, allocations: 0.7478 MB / 364 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.061e-05/0.1117, allocations: 21.95 kB / 364 MB, free: 6.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.1117, allocations: 23.42 kB / 364 MB, free: 6.543 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1117, allocations: 0 / 364 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Templates: time 0.004489/0.1162, allocations: 2.023 MB / 366 MB, free: 4.539 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 -s cvode -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