Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001189/0.001189, allocations: 199.8 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, 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.001063/0.001063, allocations: 94.16 kB / 299.8 MB, free: 5.352 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003958/0.0003959, allocations: 8 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3768, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.001662/0.3785, allocations: 1.196 MB / 413.3 MB, free: 24.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007172/0.3793, allocations: 0.5555 MB / 413.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.3793, allocations: 0 / 413.8 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.3793, allocations: 3.984 kB / 413.8 MB, free: 24.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.3794, allocations: 11.92 kB / 413.8 MB, free: 24.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.3797, allocations: 19.98 kB / 413.8 MB, free: 24.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.77e-05/0.3798, allocations: 43.8 kB / 413.9 MB, free: 24.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3799, allocations: 9.703 kB / 413.9 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.38, allocations: 11.94 kB / 413.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.698e-05/0.38, allocations: 15.92 kB / 413.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.38, allocations: 0 / 413.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.38, allocations: 4 kB / 413.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.875e-05/0.3801, allocations: 7.484 kB / 413.9 MB, free: 24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.3801, allocations: 41.58 kB / 414 MB, free: 23.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.888e-05/0.3802, allocations: 31.88 kB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3802, allocations: 0 / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3802, allocations: 3.938 kB / 414 MB, free: 23.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.3802, allocations: 0 / 414 MB, free: 23.91 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.0004652/0.3807, allocations: 353 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.3807, allocations: 8.031 kB / 414.4 MB, free: 23.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.3808, allocations: 12.83 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.381, allocations: 172.3 kB / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.381, allocations: 384 / 414.5 MB, free: 23.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.381, allocations: 8.375 kB / 414.6 MB, free: 23.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004409/0.3815, allocations: 151.6 kB / 414.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3815, allocations: 0 / 414.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3815, allocations: 3.984 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3815, allocations: 4 kB / 414.7 MB, free: 23.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.3817, allocations: 51.91 kB / 414.8 MB, free: 23.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.3818, allocations: 161.6 kB / 414.9 MB, free: 22.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.382, allocations: 94.52 kB / 415 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.3822, allocations: 40.91 kB / 415 MB, free: 22.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.3822, allocations: 4 kB / 415.1 MB, free: 22.71 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.3822, allocations: 34.5 kB / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3822, allocations: 0 / 415.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003367/0.3826, allocations: 113.6 kB / 415.2 MB, free: 22.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.522e-05/0.3826, allocations: 63.39 kB / 415.3 MB, free: 22.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.3827, allocations: 101.9 kB / 415.4 MB, free: 22.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.3827, allocations: 25.7 kB / 415.4 MB, free: 22.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.3827, allocations: 84.12 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.774e-06/0.3827, allocations: 4 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.3827, allocations: 4 kB / 415.5 MB, free: 22.25 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.3828, allocations: 318.8 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-06/0.3828, allocations: 0 / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.967e-05/0.3828, allocations: 31.42 kB / 415.8 MB, free: 21.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.3829, allocations: 39.38 kB / 415.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3829, allocations: 0 / 415.9 MB, free: 21.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.072e-05/0.383, allocations: 61.47 kB / 415.9 MB, free: 21.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.383, allocations: 7.938 kB / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.383, allocations: 0 / 415.9 MB, free: 21.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.383, allocations: 4 kB / 415.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.358e-05/0.3831, allocations: 4 kB / 415.9 MB, free: 21.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.3831, allocations: 8.125 kB / 415.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.3831, allocations: 0 / 415.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.3831, allocations: 4 kB / 415.9 MB, free: 21.74 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 5.577e-05/0.3832, allocations: 117.7 kB / 416.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.3834, allocations: 93.53 kB / 416.1 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.3834, allocations: 11.89 kB / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3834, allocations: 3.938 kB / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3834, allocations: 0 / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3834, allocations: 0 / 416.2 MB, free: 21.49 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.515e-05/0.3835, allocations: 161.7 kB / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3835, allocations: 0 / 416.3 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.895e-05/0.3836, allocations: 15.98 kB / 416.3 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3836, allocations: 3.938 kB / 416.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3836, allocations: 0 / 416.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3836, allocations: 4 kB / 416.3 MB, free: 21.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3836, allocations: 4 kB / 416.3 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3838, allocations: 113.3 kB / 416.5 MB, free: 21.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.3838, allocations: 89.05 kB / 416.5 MB, free: 21.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.3839, allocations: 7.938 kB / 416.6 MB, free: 21.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.747e-05/0.3839, allocations: 7.984 kB / 416.6 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-06/0.3839, allocations: 0 / 416.6 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.3839, allocations: 4 kB / 416.6 MB, free: 21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.384, allocations: 87.58 kB / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.384, allocations: 0 / 416.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.3841, allocations: 4 kB / 416.7 MB, free: 20.91 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 0.0001091/0.3843, allocations: 107.2 kB / 416.8 MB, free: 20.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3844, allocations: 43.84 kB / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3844, allocations: 0 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.3844, allocations: 0 / 416.8 MB, free: 20.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.3848, allocations: 36.23 kB / 416.8 MB, free: 20.72 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002803/0.3851, allocations: 128.7 kB / 417 MB, free: 20.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3852, allocations: 0.6848 MB / 417.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.169e-05/0.3852, allocations: 3.906 kB / 417.7 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.3853, allocations: 15.44 kB / 417.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3853, allocations: 0 / 417.7 MB, free: 19.84 MB / 298.7 MB Notification: Performance of Templates: time 0.002198/0.3875, allocations: 384.1 kB / 418 MB, free: 19.46 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches