Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 117.6 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 199.9 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2958, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003264/0.2991, allocations: 2.441 MB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.3002, allocations: 0.6466 MB / 412.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.3003, allocations: 7.938 kB / 412.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.3005, allocations: 39.64 kB / 412.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001341/0.3006, allocations: 67.36 kB / 412.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.301, allocations: 79.83 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.3013, allocations: 258.8 kB / 412.8 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.3015, allocations: 101.3 kB / 412.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.3017, allocations: 107.6 kB / 413 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.3019, allocations: 107.5 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.302, allocations: 23.94 kB / 413.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.302, allocations: 20 kB / 413.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.3021, allocations: 47.84 kB / 413.2 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.3022, allocations: 123.4 kB / 413.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.3025, allocations: 260.2 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3025, allocations: 4 kB / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3025, allocations: 0 / 413.5 MB, free: 13.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.3026, allocations: 4 kB / 413.5 MB, free: 13.27 MB / 334.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.0008114/0.3034, allocations: 0.5145 MB / 414.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.3034, allocations: 12.03 kB / 414.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.3037, allocations: 48.62 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.304, allocations: 255.7 kB / 414.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.3041, allocations: 12.81 kB / 414.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.3041, allocations: 20.38 kB / 414.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.3045, allocations: 217.3 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3045, allocations: 4 kB / 414.6 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.3046, allocations: 12 kB / 414.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.3046, allocations: 4 kB / 414.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.3049, allocations: 151.8 kB / 414.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.306, allocations: 0.7753 MB / 415.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.3064, allocations: 201 kB / 415.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.3066, allocations: 109.6 kB / 415.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.3067, allocations: 11.98 kB / 415.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.3067, allocations: 34.69 kB / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.3067, allocations: 0 / 415.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.001524/0.3082, allocations: 0.8668 MB / 416.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.3083, allocations: 81.11 kB / 416.9 MB, free: 9.652 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.3085, allocations: 183.4 kB / 417 MB, free: 9.461 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3085, allocations: 29.7 kB / 417.1 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.3086, allocations: 140.3 kB / 417.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.3087, allocations: 94.56 kB / 417.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.3087, allocations: 49.7 kB / 417.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3089, allocations: 338.8 kB / 417.7 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.309, allocations: 67.97 kB / 417.7 MB, free: 8.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3092, allocations: 108.2 kB / 417.8 MB, free: 8.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.3095, allocations: 190.6 kB / 418 MB, free: 8.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3095, allocations: 4 kB / 418 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004072/0.3099, allocations: 245.1 kB / 418.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3099, allocations: 8 kB / 418.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.31, allocations: 0 / 418.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.31, allocations: 8.094 kB / 418.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.3102, allocations: 63.91 kB / 418.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.3102, allocations: 0 / 418.3 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3104, allocations: 12 kB / 418.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.3104, allocations: 4 kB / 418.4 MB, free: 8.066 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.0001087/0.3105, allocations: 153.6 kB / 418.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.3106, allocations: 15.81 kB / 418.5 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.3106, allocations: 25.88 kB / 418.6 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3106, allocations: 8 kB / 418.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3106, allocations: 0 / 418.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.3107, allocations: 7.984 kB / 418.6 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007428/0.3114, allocations: 0.5786 MB / 419.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.3114, allocations: 0 / 419.1 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3117, allocations: 64 kB / 419.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3117, allocations: 0 / 419.2 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3117, allocations: 8 kB / 419.2 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3117, allocations: 0 / 419.2 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3117, allocations: 7.938 kB / 419.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005873/0.3123, allocations: 492.8 kB / 419.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3124, allocations: 104.9 kB / 419.8 MB, free: 6.496 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.3124, allocations: 4 kB / 419.8 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3126, allocations: 11.94 kB / 419.8 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.3127, allocations: 27.89 kB / 419.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.3127, allocations: 12 kB / 419.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.015e-05/0.3128, allocations: 136.2 kB / 420 MB, free: 6.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3128, allocations: 0 / 420 MB, free: 6.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.3131, allocations: 52 kB / 420 MB, free: 6.258 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.0001097/0.3132, allocations: 103.2 kB / 420.1 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003672/0.3136, allocations: 182.2 kB / 420.3 MB, free: 5.969 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3136, allocations: 4 kB / 420.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.3138, allocations: 99.08 kB / 420.4 MB, free: 5.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3143, allocations: 40.67 kB / 420.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3153, allocations: 0.6879 MB / 421.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.3156, allocations: 0.748 MB / 421.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.432e-05/0.3157, allocations: 25.94 kB / 421.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.3158, allocations: 27.42 kB / 422 MB, free: 4.277 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3158, allocations: 0 / 422 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Templates: time 0.004708/0.3205, allocations: 2.059 MB / 424 MB, free: 2.238 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches