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.HoldWithDAeffects2.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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 184.3 kB / 16.71 MB, free: 4.969 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.272/1.272, allocations: 225.7 MB / 243.2 MB, free: 8.512 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.0007379/0.000738, allocations: 89.23 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002363, allocations: 11.94 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2445, allocations: 50.42 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001601/0.2462, allocations: 1.53 MB / 406.1 MB, free: 29.81 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.2469, allocations: 0.5763 MB / 406.7 MB, free: 29.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.2471, allocations: 3.938 kB / 406.7 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.2472, allocations: 19.8 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.2473, allocations: 15.88 kB / 406.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.2476, allocations: 84.5 kB / 406.8 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2477, allocations: 133.9 kB / 406.9 MB, free: 28.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.2479, allocations: 60.16 kB / 407 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.45e-05/0.2479, allocations: 43.73 kB / 407 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.248, allocations: 35.72 kB / 407.1 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.2481, allocations: 5.062 kB / 407.1 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.2481, allocations: 4 kB / 407.1 MB, free: 28.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.677e-05/0.2481, allocations: 19.86 kB / 407.1 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.2482, allocations: 82.41 kB / 407.2 MB, free: 28.74 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.2483, allocations: 127.5 kB / 407.3 MB, free: 28.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2483, allocations: 4 kB / 407.3 MB, free: 28.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2483, allocations: 1.531 kB / 407.3 MB, free: 28.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.2483, allocations: 0 / 407.3 MB, free: 28.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004132/0.2487, allocations: 432.6 kB / 407.7 MB, free: 28.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.2488, allocations: 8.031 kB / 407.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.2488, allocations: 16.75 kB / 407.8 MB, free: 28.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.249, allocations: 236.9 kB / 408 MB, free: 27.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2491, allocations: 12.12 kB / 408 MB, free: 27.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.2491, allocations: 12 kB / 408 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.2496, allocations: 302.5 kB / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2496, allocations: 0 / 408.3 MB, free: 27.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2496, allocations: 7.938 kB / 408.3 MB, free: 27.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2496, allocations: 4 kB / 408.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.2498, allocations: 95.81 kB / 408.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003354/0.2501, allocations: 415.5 kB / 408.8 MB, free: 26.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.2505, allocations: 318 kB / 409.1 MB, free: 26.55 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.2507, allocations: 112.3 kB / 409.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.2507, allocations: 4 kB / 409.2 MB, free: 26.42 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.2507, allocations: 38.5 kB / 409.3 MB, free: 26.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.035e-05/0.2507, allocations: 0 / 409.3 MB, free: 26.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.000477/0.2512, allocations: 241.4 kB / 409.5 MB, free: 26.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.2513, allocations: 199.9 kB / 409.7 MB, free: 25.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2514, allocations: 184.2 kB / 409.9 MB, free: 25.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2514, allocations: 33.64 kB / 409.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.2515, allocations: 100.5 kB / 410 MB, free: 25.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2515, allocations: 19.89 kB / 410 MB, free: 25.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.2515, allocations: 4 kB / 410 MB, free: 25.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.35e-05/0.2516, allocations: 322.8 kB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/0.2517, allocations: 31.98 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2518, allocations: 141.5 kB / 410.5 MB, free: 24.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.2519, allocations: 174.4 kB / 410.7 MB, free: 24.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2519, allocations: 0 / 410.7 MB, free: 24.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002197/0.2522, allocations: 177.1 kB / 410.9 MB, free: 24.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2522, allocations: 8 kB / 410.9 MB, free: 24.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2522, allocations: 4.531 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2522, allocations: 7.984 kB / 410.9 MB, free: 24.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2524, allocations: 39.92 kB / 410.9 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2524, allocations: 4 kB / 410.9 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.2525, allocations: 27.97 kB / 411 MB, free: 24.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.2525, allocations: 8 kB / 411 MB, free: 24.49 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 8.241e-05/0.2526, allocations: 145.7 kB / 411.1 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.2528, allocations: 149.3 kB / 411.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.2529, allocations: 29.39 kB / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2529, allocations: 0 / 411.3 MB, free: 24.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2529, allocations: 8 kB / 411.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2529, allocations: 3.938 kB / 411.3 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2531, allocations: 221.4 kB / 411.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2531, allocations: 0 / 411.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.2532, allocations: 51.94 kB / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2533, allocations: 4 kB / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2533, allocations: 0 / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.2533, allocations: 4 kB / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2533, allocations: 0 / 411.6 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.2536, allocations: 377 kB / 411.9 MB, free: 23.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.2536, allocations: 108.8 kB / 412.1 MB, free: 23.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.2537, allocations: 11.98 kB / 412.1 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2538, allocations: 12 kB / 412.1 MB, free: 23.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.2539, allocations: 11.92 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.2539, allocations: 4 kB / 412.1 MB, free: 23.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.914e-05/0.2539, allocations: 128.1 kB / 412.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.254, allocations: 0 / 412.2 MB, free: 23.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002722/0.2542, allocations: 31.84 kB / 412.2 MB, free: 23.1 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold1.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.486e-05/0.2543, allocations: 119.2 kB / 412.4 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.2546, allocations: 116.8 kB / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2546, allocations: 0 / 412.5 MB, free: 22.86 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.2546, allocations: 27.98 kB / 412.5 MB, free: 22.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.2552, allocations: 99.94 kB / 412.6 MB, free: 22.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004736/0.2557, allocations: 386 kB / 413 MB, free: 22.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2559, allocations: 0.7202 MB / 413.7 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.127e-05/0.2559, allocations: 13.73 kB / 413.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.256, allocations: 23.42 kB / 413.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.256, allocations: 4 kB / 413.7 MB, free: 21.54 MB / 298.7 MB Notification: Performance of Templates: time 0.0035/0.2595, allocations: 1.594 MB / 415.3 MB, free: 19.96 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches