Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009141/0.0009145, allocations: 177.3 kB / 16.71 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008631/0.0008634, allocations: 89.36 kB / 294.3 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003087, allocations: 8 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2825, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001498/0.2841, allocations: 1.184 MB / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005192/0.2846, allocations: 388.4 kB / 406.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.2847, allocations: 0 / 406.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2847, allocations: 0 / 406.1 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.2848, allocations: 9.656 kB / 406.2 MB, free: 29.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.285, allocations: 23.97 kB / 406.2 MB, free: 29.72 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.2851, allocations: 35.86 kB / 406.2 MB, free: 29.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.2852, allocations: 13.12 kB / 406.2 MB, free: 29.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.342e-05/0.2853, allocations: 7.984 kB / 406.2 MB, free: 29.67 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.2853, allocations: 19.91 kB / 406.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.2853, allocations: 4.531 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.2854, allocations: 0 / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.2854, allocations: 4.781 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.2854, allocations: 41.62 kB / 406.3 MB, free: 29.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.685e-05/0.2855, allocations: 33.05 kB / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2855, allocations: 0 / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2855, allocations: 0 / 406.3 MB, free: 29.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.2855, allocations: 0.5312 kB / 406.3 MB, free: 29.56 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003403/0.2859, allocations: 354.9 kB / 406.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.2859, allocations: 8.031 kB / 406.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.2859, allocations: 10.16 kB / 406.7 MB, free: 29.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.2861, allocations: 180.3 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.2861, allocations: 4.375 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2861, allocations: 1.625 kB / 406.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.2865, allocations: 158.4 kB / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2865, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.2865, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2865, allocations: 0 / 407 MB, free: 28.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.2867, allocations: 51.95 kB / 407.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.991e-05/0.2868, allocations: 161.6 kB / 407.2 MB, free: 28.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.287, allocations: 106.5 kB / 407.3 MB, free: 28.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.2871, allocations: 36.89 kB / 407.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2871, allocations: 0 / 407.4 MB, free: 28.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.2872, allocations: 38.48 kB / 407.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/0.2872, allocations: 0 / 407.4 MB, free: 28.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003073/0.2875, allocations: 113.6 kB / 407.5 MB, free: 28.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.2875, allocations: 55.41 kB / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.2876, allocations: 109.8 kB / 407.7 MB, free: 28.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.2876, allocations: 25.7 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/0.2876, allocations: 84.14 kB / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-06/0.2876, allocations: 0 / 407.8 MB, free: 27.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.2876, allocations: 4 kB / 407.8 MB, free: 27.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.2877, allocations: 318.8 kB / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.2877, allocations: 0 / 408.1 MB, free: 27.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.693e-05/0.2877, allocations: 27.44 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.2878, allocations: 35.38 kB / 408.2 MB, free: 27.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2878, allocations: 3.938 kB / 408.2 MB, free: 27.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.737e-05/0.2878, allocations: 57.66 kB / 408.2 MB, free: 27.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.2879, allocations: 11.94 kB / 408.2 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2879, allocations: 4 kB / 408.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.2879, allocations: 0 / 408.3 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.2879, allocations: 15.92 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.2879, allocations: 320 / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.778e-05/0.288, allocations: 4 kB / 408.3 MB, free: 27.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.288, allocations: 7.938 kB / 408.3 MB, free: 27.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 4.408e-05/0.288, allocations: 113.7 kB / 408.4 MB, free: 27.26 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2882, allocations: 93.59 kB / 408.5 MB, free: 27.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.523e-05/0.2882, allocations: 7.906 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2882, allocations: 0 / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2882, allocations: 3.938 kB / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2882, allocations: 0 / 408.5 MB, free: 27.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.101e-05/0.2883, allocations: 157.7 kB / 408.6 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2883, allocations: 4 kB / 408.6 MB, free: 26.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.2884, allocations: 15.98 kB / 408.7 MB, free: 26.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2884, allocations: 3.938 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.2884, allocations: 0 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2884, allocations: 7.984 kB / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2884, allocations: 0 / 408.7 MB, free: 26.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.2886, allocations: 117 kB / 408.8 MB, free: 26.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.906e-05/0.2886, allocations: 89.05 kB / 408.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2886, allocations: 0 / 408.9 MB, free: 26.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.2887, allocations: 8.375 kB / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.2887, allocations: 3.984 kB / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.2887, allocations: 0 / 408.9 MB, free: 26.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.472e-05/0.2887, allocations: 87.28 kB / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.2887, allocations: 0 / 409 MB, free: 26.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.2889, allocations: 7.938 kB / 409 MB, free: 26.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.413e-05/0.289, allocations: 107.2 kB / 409.1 MB, free: 26.45 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.2891, allocations: 40.16 kB / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2891, allocations: 4.062 kB / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2891, allocations: 0 / 409.1 MB, free: 26.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2894, allocations: 44.8 kB / 409.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.2897, allocations: 128.6 kB / 409.3 MB, free: 26.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.2898, allocations: 0.6848 MB / 410 MB, free: 25.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.457e-05/0.2898, allocations: 7.906 kB / 410 MB, free: 25.49 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.2898, allocations: 7.438 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2898, allocations: 3.938 kB / 410 MB, free: 25.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001799/0.2916, allocations: 381.1 kB / 410.4 MB, free: 25.11 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches