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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009639/0.000964, allocations: 103.5 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001036, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1895, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002721/0.1922, allocations: 2.473 MB / 409.5 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008047/0.1931, allocations: 0.6164 MB / 410.1 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.1932, allocations: 7.938 kB / 410.1 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1933, allocations: 31.77 kB / 410.2 MB, free: 24.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.977e-05/0.1935, allocations: 51.55 kB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.1936, allocations: 59.94 kB / 410.3 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.1938, allocations: 246.9 kB / 410.5 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.194, allocations: 85.89 kB / 410.6 MB, free: 24.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.1942, allocations: 99.59 kB / 410.7 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.1943, allocations: 103.5 kB / 410.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.1944, allocations: 12 kB / 410.8 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.1944, allocations: 19.98 kB / 410.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.1945, allocations: 43.78 kB / 410.9 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.1945, allocations: 103.5 kB / 411 MB, free: 23.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1947, allocations: 252.6 kB / 411.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1947, allocations: 0 / 411.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1947, allocations: 0 / 411.2 MB, free: 23.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1948, allocations: 0 / 411.2 MB, free: 23.61 MB / 298.7 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.0006022/0.1954, allocations: 0.5185 MB / 411.8 MB, free: 23.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1954, allocations: 16.81 kB / 411.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.1956, allocations: 40.64 kB / 411.8 MB, free: 22.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.1958, allocations: 236.6 kB / 412 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1958, allocations: 12.81 kB / 412.1 MB, free: 22.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1959, allocations: 32.27 kB / 412.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.1962, allocations: 213.3 kB / 412.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1962, allocations: 0 / 412.3 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.1963, allocations: 12 kB / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1963, allocations: 4 kB / 412.3 MB, free: 22.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.1966, allocations: 152.4 kB / 412.5 MB, free: 22.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.1975, allocations: 0.7908 MB / 413.2 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/0.1979, allocations: 201 kB / 413.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.1981, allocations: 105.7 kB / 413.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.1981, allocations: 8 kB / 413.6 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.1981, allocations: 34.69 kB / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.1981, allocations: 0 / 413.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001245/0.1994, allocations: 0.8624 MB / 414.4 MB, free: 20.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.1994, allocations: 81.11 kB / 414.5 MB, free: 20 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.1995, allocations: 187 kB / 414.7 MB, free: 19.81 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.1996, allocations: 33.64 kB / 414.7 MB, free: 19.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.1996, allocations: 140.3 kB / 414.9 MB, free: 19.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.1997, allocations: 94.66 kB / 415 MB, free: 19.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.93e-05/0.1997, allocations: 49.7 kB / 415 MB, free: 19.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.1998, allocations: 334.8 kB / 415.3 MB, free: 19.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1999, allocations: 59.97 kB / 415.4 MB, free: 19.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.2, allocations: 108.2 kB / 415.5 MB, free: 18.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2003, allocations: 190.6 kB / 415.7 MB, free: 18.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2003, allocations: 4 kB / 415.7 MB, free: 18.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003449/0.2007, allocations: 245.2 kB / 415.9 MB, free: 18.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2007, allocations: 8 kB / 416 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.2007, allocations: 0 / 416 MB, free: 18.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2007, allocations: 3.984 kB / 416 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.201, allocations: 63.91 kB / 416 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.201, allocations: 4 kB / 416 MB, free: 18.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.2011, allocations: 8 kB / 416 MB, free: 18.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.2011, allocations: 8 kB / 416 MB, free: 18.42 MB / 298.7 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 9.256e-05/0.2012, allocations: 159.2 kB / 416.2 MB, free: 18.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.2013, allocations: 19.72 kB / 416.2 MB, free: 18.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.838e-05/0.2014, allocations: 25.88 kB / 416.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2014, allocations: 4 kB / 416.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.2014, allocations: 4 kB / 416.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-06/0.2014, allocations: 7.969 kB / 416.3 MB, free: 18.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.202, allocations: 0.5865 MB / 416.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.202, allocations: 0 / 416.8 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.2023, allocations: 55.91 kB / 416.9 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2023, allocations: 4 kB / 416.9 MB, free: 17.49 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2023, allocations: 11.98 kB / 416.9 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.2023, allocations: 0 / 416.9 MB, free: 17.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.2023, allocations: 7.938 kB / 416.9 MB, free: 17.47 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.2041, allocations: 1.936 MB / 418.9 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.2042, allocations: 92.83 kB / 418.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.2042, allocations: 15.97 kB / 419 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2043, allocations: 8 kB / 419 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.2044, allocations: 23.91 kB / 419 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.2044, allocations: 8 kB / 419 MB, free: 15.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.2045, allocations: 127.2 kB / 419.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2045, allocations: 4 kB / 419.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003896/0.2049, allocations: 71.94 kB / 419.2 MB, free: 15.02 MB / 298.7 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 8.398e-05/0.205, allocations: 103.2 kB / 419.3 MB, free: 14.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.2053, allocations: 178.3 kB / 419.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2053, allocations: 0 / 419.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.2055, allocations: 100.8 kB / 419.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.206, allocations: 35.64 kB / 419.6 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009896/0.207, allocations: 0.9575 MB / 420.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.2071, allocations: 0.7521 MB / 421.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.679e-05/0.2072, allocations: 29.92 kB / 421.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.2073, allocations: 19.44 kB / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2073, allocations: 0 / 421.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Templates: time 0.003911/0.2112, allocations: 2.136 MB / 423.5 MB, free: 10.65 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Oscillator/Oscillator.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches