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.000858/0.0008581, allocations: 95.92 kB / 16.3 MB, free: 6.461 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.0009122/0.0009123, allocations: 183 kB / 17.2 MB, free: 6.34 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.312/1.312, allocations: 223.2 MB / 241.1 MB, free: 5.363 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002312/0.0002312, allocations: 5.125 kB / 300.7 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08993/0.09018, allocations: 50.42 MB / 351.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00204/0.09226, allocations: 1.953 MB / 353.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007082/0.09298, allocations: 0.5653 MB / 353.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.682e-05/0.09309, allocations: 4 kB / 353.7 MB, free: 9.148 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.426e-05/0.09314, allocations: 27.77 kB / 353.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.09329, allocations: 75.77 kB / 353.8 MB, free: 9.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001648/0.09346, allocations: 39.95 kB / 353.8 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.09369, allocations: 179.6 kB / 354 MB, free: 8.832 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.09385, allocations: 73.34 kB / 354 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.09397, allocations: 83.69 kB / 354.1 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.0941, allocations: 87.56 kB / 354.2 MB, free: 8.586 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.09414, allocations: 16 kB / 354.2 MB, free: 8.57 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.077e-05/0.09418, allocations: 11.94 kB / 354.2 MB, free: 8.559 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.09421, allocations: 39.84 kB / 354.3 MB, free: 8.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.09426, allocations: 61.58 kB / 354.3 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.09442, allocations: 183.5 kB / 354.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.09443, allocations: 0 / 354.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09444, allocations: 0 / 354.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.09445, allocations: 0 / 354.5 MB, free: 8.273 MB / 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.0006275/0.09508, allocations: 0.4949 MB / 355 MB, free: 7.73 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.09512, allocations: 8.031 kB / 355 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.09517, allocations: 27.67 kB / 355 MB, free: 7.695 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.09539, allocations: 231.4 kB / 355.3 MB, free: 7.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.09541, allocations: 12.44 kB / 355.3 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.09546, allocations: 20 kB / 355.3 MB, free: 7.395 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.09583, allocations: 217.4 kB / 355.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.09585, allocations: 3.906 kB / 355.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.09588, allocations: 8 kB / 355.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.09589, allocations: 8 kB / 355.5 MB, free: 7.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.0962, allocations: 164.3 kB / 355.7 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.09724, allocations: 0.7919 MB / 356.5 MB, free: 6.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/0.09761, allocations: 205 kB / 356.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.09765, allocations: 0 / 356.7 MB, free: 5.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.09768, allocations: 38.52 kB / 356.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.09768, allocations: 0 / 356.7 MB, free: 5.871 MB / 286.1 MB Notification: Performance of matching and sorting (n=26): time 0.001429/0.09912, allocations: 0.8878 MB / 357.6 MB, free: 4.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.09917, allocations: 81.11 kB / 357.7 MB, free: 4.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.09931, allocations: 182.2 kB / 357.9 MB, free: 4.609 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.09933, allocations: 29.7 kB / 357.9 MB, free: 4.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.09941, allocations: 132.4 kB / 358 MB, free: 4.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.09948, allocations: 98.5 kB / 358.1 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.09949, allocations: 7.938 kB / 358.1 MB, free: 4.336 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.0996, allocations: 338.8 kB / 358.5 MB, free: 3.996 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.09974, allocations: 63.97 kB / 358.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.09991, allocations: 112.8 kB / 358.6 MB, free: 3.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.1001, allocations: 90.84 kB / 358.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1001, allocations: 0 / 358.7 MB, free: 3.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004001/0.1005, allocations: 253.2 kB / 359 MB, free: 3.469 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1005, allocations: 4 kB / 359 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1005, allocations: 4 kB / 359 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1005, allocations: 0 / 359 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.1008, allocations: 67.91 kB / 359 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1008, allocations: 0 / 359 MB, free: 3.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1009, allocations: 19.89 kB / 359.1 MB, free: 3.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.101, allocations: 12.48 kB / 359.1 MB, free: 3.363 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.1011, allocations: 137.7 kB / 359.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.1011, allocations: 19.81 kB / 359.2 MB, free: 3.199 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.444e-05/0.1012, allocations: 29.86 kB / 359.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1012, allocations: 4 kB / 359.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1012, allocations: 0 / 359.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1012, allocations: 3.984 kB / 359.3 MB, free: 3.164 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00072/0.1019, allocations: 0.5788 MB / 359.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1019, allocations: 0 / 359.8 MB, free: 2.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.1022, allocations: 63.89 kB / 359.9 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1022, allocations: 0 / 359.9 MB, free: 2.457 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1023, allocations: 12.09 kB / 359.9 MB, free: 2.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1023, allocations: 8 kB / 359.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1023, allocations: 0 / 359.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006039/0.1029, allocations: 0.5426 MB / 360.5 MB, free: 1.844 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.103, allocations: 112.8 kB / 360.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.103, allocations: 8 kB / 360.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.1032, allocations: 4 kB / 360.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.1032, allocations: 23.91 kB / 360.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1032, allocations: 8 kB / 360.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.1033, allocations: 136.3 kB / 360.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1033, allocations: 0 / 360.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1037, allocations: 48 kB / 360.8 MB, free: 1.492 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.603e-05/0.1038, allocations: 111.7 kB / 360.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1041, allocations: 183.8 kB / 361.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1041, allocations: 0 / 361.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.1043, allocations: 100 kB / 361.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.1046, allocations: 44.05 kB / 361.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1057, allocations: 0.8271 MB / 362.1 MB, free: 196 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.106, allocations: 0.7561 MB / 362.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.1061, allocations: 25.94 kB / 362.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.1061, allocations: 19.44 kB / 362.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1061, allocations: 0 / 362.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Templates: time 0.004095/0.1102, allocations: 1.771 MB / 364.6 MB, free: 13.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches