Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Oscillator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 196.6 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007297/0.0007297, allocations: 95.66 kB / 299.8 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002504/0.0002504, allocations: 4 kB / 360.6 MB, free: 8.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 51.42 MB / 412 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.001743/0.1995, allocations: 2.046 MB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007318/0.2002, allocations: 0.8212 MB / 414.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2003, allocations: 11.06 kB / 414.9 MB, free: 22.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.2005, allocations: 27.77 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2006, allocations: 59.53 kB / 415 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.2008, allocations: 54.64 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.201, allocations: 238.9 kB / 415.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2011, allocations: 85.89 kB / 415.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.2013, allocations: 95.58 kB / 415.5 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.2014, allocations: 91.55 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.2014, allocations: 8 kB / 415.6 MB, free: 22.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.166e-05/0.2015, allocations: 16 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.2015, allocations: 39.78 kB / 415.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.2016, allocations: 129.2 kB / 415.8 MB, free: 22.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.2018, allocations: 236.6 kB / 416 MB, free: 21.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2018, allocations: 4 kB / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2018, allocations: 0 / 416 MB, free: 21.86 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2018, allocations: 0 / 416 MB, free: 21.86 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.0005245/0.2023, allocations: 0.4951 MB / 416.5 MB, free: 21.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.2024, allocations: 8.031 kB / 416.5 MB, free: 21.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.2026, allocations: 48.62 kB / 416.5 MB, free: 21.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2027, allocations: 230 kB / 416.8 MB, free: 21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2028, allocations: 16.81 kB / 416.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.2028, allocations: 24.38 kB / 416.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2031, allocations: 221.3 kB / 417 MB, free: 20.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2032, allocations: 7.906 kB / 417 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2032, allocations: 4 kB / 417 MB, free: 20.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2032, allocations: 7.984 kB / 417 MB, free: 20.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00027/0.2035, allocations: 155.8 kB / 417.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.2043, allocations: 0.7871 MB / 418 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.2047, allocations: 213 kB / 418.2 MB, free: 19.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.2048, allocations: 105.7 kB / 418.3 MB, free: 19.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2049, allocations: 4 kB / 418.3 MB, free: 19.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.28e-05/0.2049, allocations: 42.69 kB / 418.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.2049, allocations: 0 / 418.3 MB, free: 19.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001177/0.2061, allocations: 0.8734 MB / 419.2 MB, free: 18.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.2061, allocations: 88.98 kB / 419.3 MB, free: 18.24 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.2062, allocations: 175.2 kB / 419.5 MB, free: 18.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.2062, allocations: 29.7 kB / 419.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.2063, allocations: 152.4 kB / 419.6 MB, free: 17.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.2063, allocations: 94.56 kB / 419.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.638e-06/0.2064, allocations: 4 kB / 419.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.268e-05/0.2064, allocations: 326.8 kB / 420.1 MB, free: 17.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2065, allocations: 71.95 kB / 420.1 MB, free: 17.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2067, allocations: 112.2 kB / 420.2 MB, free: 17.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/0.2069, allocations: 193.6 kB / 420.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.207, allocations: 0 / 420.4 MB, free: 17.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003375/0.2073, allocations: 256.1 kB / 420.7 MB, free: 16.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.2073, allocations: 8.094 kB / 420.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2073, allocations: 4 kB / 420.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.2073, allocations: 0 / 420.7 MB, free: 16.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.2076, allocations: 63.91 kB / 420.8 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.2076, allocations: 0 / 420.8 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.2077, allocations: 19.89 kB / 420.8 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.2077, allocations: 12 kB / 420.8 MB, free: 16.69 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 7.72e-05/0.2078, allocations: 145.7 kB / 420.9 MB, free: 16.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.2079, allocations: 19.81 kB / 420.9 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.2079, allocations: 33.84 kB / 421 MB, free: 16.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2079, allocations: 4 kB / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2079, allocations: 0 / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2079, allocations: 0 / 421 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006349/0.2086, allocations: 0.5903 MB / 421.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2086, allocations: 0 / 421.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.2088, allocations: 63.91 kB / 421.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2089, allocations: 0 / 421.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2089, allocations: 8 kB / 421.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2089, allocations: 8.094 kB / 421.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2089, allocations: 8.328 kB / 421.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.2094, allocations: 0.492 MB / 422.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.84e-05/0.2094, allocations: 92.91 kB / 422.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.2094, allocations: 8 kB / 422.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.2096, allocations: 12 kB / 422.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.2097, allocations: 23.91 kB / 422.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.2097, allocations: 11.94 kB / 422.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.109e-05/0.2098, allocations: 132.3 kB / 422.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2098, allocations: 0 / 422.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.21, allocations: 52 kB / 422.5 MB, free: 14.88 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 7.858e-05/0.2101, allocations: 107.2 kB / 422.6 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003127/0.2105, allocations: 192 kB / 422.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2105, allocations: 0 / 422.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2106, allocations: 107.7 kB / 422.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2111, allocations: 56.16 kB / 422.9 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008667/0.2119, allocations: 0.8494 MB / 423.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2121, allocations: 0.7482 MB / 424.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.808e-05/0.2122, allocations: 21.94 kB / 424.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.2123, allocations: 19.44 kB / 424.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2123, allocations: 0 / 424.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of Templates: time 0.003743/0.216, allocations: 1.872 MB / 426.4 MB, free: 10.86 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/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