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.001444/0.001444, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001131/0.001131, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001756, allocations: 51.92 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2978, allocations: 49.43 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003678/0.3015, allocations: 2.418 MB / 403.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.3025, allocations: 0.5803 MB / 403.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3026, allocations: 4 kB / 403.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3028, allocations: 39.58 kB / 403.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.3029, allocations: 71.36 kB / 403.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.3032, allocations: 63.84 kB / 403.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.3035, allocations: 246.9 kB / 404.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.3037, allocations: 101.3 kB / 404.2 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.3038, allocations: 103.6 kB / 404.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.304, allocations: 103.5 kB / 404.4 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.304, allocations: 20 kB / 404.4 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.333e-05/0.3041, allocations: 20 kB / 404.5 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.3041, allocations: 51.83 kB / 404.5 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.3042, allocations: 123.4 kB / 404.6 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.3045, allocations: 248.2 kB / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3045, allocations: 0 / 404.9 MB, free: 4.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3045, allocations: 3.984 kB / 404.9 MB, free: 4.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.3045, allocations: 0 / 404.9 MB, free: 4.668 MB / 318.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.0007934/0.3053, allocations: 0.5146 MB / 405.4 MB, free: 4.105 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3054, allocations: 11.89 kB / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.3055, allocations: 28.56 kB / 405.4 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3058, allocations: 245.2 kB / 405.7 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3058, allocations: 16.81 kB / 405.7 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.703e-05/0.3059, allocations: 20.38 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.3063, allocations: 213.3 kB / 405.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3063, allocations: 4 kB / 405.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.3063, allocations: 15.97 kB / 405.9 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.3063, allocations: 4 kB / 405.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003248/0.3067, allocations: 147.9 kB / 406.1 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.3078, allocations: 0.787 MB / 406.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.3082, allocations: 201 kB / 407.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/0.3084, allocations: 101.7 kB / 407.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.3085, allocations: 4 kB / 407.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3085, allocations: 46.67 kB / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.502e-06/0.3085, allocations: 0 / 407.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.001517/0.31, allocations: 0.8664 MB / 408.1 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3101, allocations: 85.05 kB / 408.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3103, allocations: 174.5 kB / 408.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.3103, allocations: 29.7 kB / 408.4 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.3104, allocations: 140.3 kB / 408.5 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.3105, allocations: 94.59 kB / 408.6 MB, free: 0.625 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.3106, allocations: 53.69 kB / 408.7 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3107, allocations: 330.8 kB / 409 MB, free: 240 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3108, allocations: 63.95 kB / 409 MB, free: 176 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.311, allocations: 108.8 kB / 409.1 MB, free: 52 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.3114, allocations: 196.1 kB / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3114, allocations: 0 / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004231/0.3118, allocations: 245.2 kB / 409.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3118, allocations: 4.094 kB / 409.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.3119, allocations: 8 kB / 409.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3119, allocations: 0 / 409.6 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.3121, allocations: 59.91 kB / 409.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3122, allocations: 4 kB / 409.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3123, allocations: 15.89 kB / 409.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3123, allocations: 12 kB / 409.7 MB, free: 15.49 MB / 334.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.0001297/0.3124, allocations: 141.7 kB / 409.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.904e-05/0.3125, allocations: 19.81 kB / 409.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.3126, allocations: 33.86 kB / 409.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3126, allocations: 4 kB / 409.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.3126, allocations: 0 / 409.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3126, allocations: 0 / 409.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008678/0.3135, allocations: 0.5902 MB / 410.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3135, allocations: 4.094 kB / 410.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3138, allocations: 59.91 kB / 410.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3138, allocations: 4 kB / 410.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.3138, allocations: 4 kB / 410.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3138, allocations: 4 kB / 410.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/0.3138, allocations: 3.938 kB / 410.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.3145, allocations: 489 kB / 411 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.3145, allocations: 96.86 kB / 411.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.3146, allocations: 8 kB / 411.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.3148, allocations: 8 kB / 411.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/0.3148, allocations: 27.91 kB / 411.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.3149, allocations: 8 kB / 411.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001037/0.315, allocations: 140.2 kB / 411.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.315, allocations: 3.938 kB / 411.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.3153, allocations: 48 kB / 411.4 MB, free: 13.7 MB / 334.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.0001291/0.3154, allocations: 103.2 kB / 411.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003846/0.3158, allocations: 198.5 kB / 411.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3158, allocations: 0 / 411.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.316, allocations: 91.84 kB / 411.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.3165, allocations: 40.61 kB / 411.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3177, allocations: 0.6724 MB / 412.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.318, allocations: 0.748 MB / 413.2 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.732e-05/0.3181, allocations: 21.95 kB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.159e-05/0.3182, allocations: 19.44 kB / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3182, allocations: 0 / 413.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004983/0.3232, allocations: 2.074 MB / 415.3 MB, free: 9.68 MB / 334.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