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.001325/0.001325, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.00138/0.00138, allocations: 192 kB / 18.63 MB, free: 4.375 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.405/1.405, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 45.33 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08991/0.09095, allocations: 49.43 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003852/0.09484, allocations: 2.419 MB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.09605, allocations: 0.5764 MB / 354.5 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.09627, allocations: 8 kB / 354.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.09645, allocations: 31.59 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.09666, allocations: 71.41 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.09693, allocations: 59.86 kB / 354.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.09726, allocations: 254.9 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.09748, allocations: 93.36 kB / 355 MB, free: 180 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.09766, allocations: 99.58 kB / 355.1 MB, free: 80 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.09785, allocations: 111.5 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.119e-05/0.0979, allocations: 20 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.989e-05/0.09794, allocations: 20 kB / 355.2 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.098, allocations: 51.72 kB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.09812, allocations: 111.5 kB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.09841, allocations: 263 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.09842, allocations: 0 / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09843, allocations: 0 / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.09844, allocations: 0 / 355.7 MB, free: 15.51 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.0007595/0.09921, allocations: 0.5184 MB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.09925, allocations: 11.89 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.09932, allocations: 32.64 kB / 356.2 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.09962, allocations: 237.8 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.09965, allocations: 12.81 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.09971, allocations: 28.28 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.1001, allocations: 221.3 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1001, allocations: 0 / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1001, allocations: 12 kB / 356.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1001, allocations: 8 kB / 356.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.1004, allocations: 148.3 kB / 356.9 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1016, allocations: 0.783 MB / 357.7 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.102, allocations: 201 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1022, allocations: 105.7 kB / 358 MB, free: 13.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1022, allocations: 12 kB / 358 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1023, allocations: 34.69 kB / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1023, allocations: 0 / 358 MB, free: 12.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=26): time 0.001434/0.1037, allocations: 0.8562 MB / 358.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.1038, allocations: 81.11 kB / 358.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.1039, allocations: 178.3 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1039, allocations: 29.7 kB / 359.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.104, allocations: 140.4 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/0.1041, allocations: 94.64 kB / 359.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.1042, allocations: 49.7 kB / 359.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.1043, allocations: 338.8 kB / 359.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1044, allocations: 59.97 kB / 359.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.1046, allocations: 112.7 kB / 359.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003033/0.1049, allocations: 184.5 kB / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1049, allocations: 4 kB / 360.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003997/0.1053, allocations: 252 kB / 360.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1053, allocations: 11.94 kB / 360.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1054, allocations: 4.094 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1054, allocations: 4 kB / 360.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.1056, allocations: 59.91 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1056, allocations: 4 kB / 360.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1058, allocations: 15.92 kB / 360.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.1058, allocations: 8 kB / 360.5 MB, free: 10.34 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.0001039/0.1059, allocations: 145.7 kB / 360.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.106, allocations: 19.8 kB / 360.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.106, allocations: 33.86 kB / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.106, allocations: 4 kB / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.106, allocations: 0 / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.106, allocations: 0 / 360.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000771/0.1068, allocations: 0.5864 MB / 361.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1068, allocations: 4.094 kB / 361.2 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.1071, allocations: 59.84 kB / 361.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1071, allocations: 4 kB / 361.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1072, allocations: 4 kB / 361.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1072, allocations: 4 kB / 361.3 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1072, allocations: 7.875 kB / 361.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.1078, allocations: 497 kB / 361.8 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.1078, allocations: 88.92 kB / 361.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.074e-05/0.1079, allocations: 8 kB / 361.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.108, allocations: 12.03 kB / 361.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/0.1081, allocations: 31.86 kB / 361.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1081, allocations: 4 kB / 361.9 MB, free: 8.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.757e-05/0.1082, allocations: 136.3 kB / 362.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1082, allocations: 0 / 362.1 MB, free: 8.598 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1086, allocations: 52 kB / 362.1 MB, free: 8.547 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 9.981e-05/0.1087, allocations: 99.25 kB / 362.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003604/0.109, allocations: 183.9 kB / 362.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.109, allocations: 0 / 362.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.1092, allocations: 95.83 kB / 362.5 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.1097, allocations: 40.67 kB / 362.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.1107, allocations: 0.6919 MB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.111, allocations: 0.7517 MB / 364 MB, free: 6.621 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.929e-05/0.1111, allocations: 25.94 kB / 364 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.1112, allocations: 19.44 kB / 364 MB, free: 6.578 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1112, allocations: 0 / 364 MB, free: 6.578 MB / 302.1 MB Notification: Performance of Templates: time 0.005052/0.1162, allocations: 2.026 MB / 366.1 MB, free: 4.57 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 gbode -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