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.HoldWithDAeffects1.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.HoldWithDAeffects1,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.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,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.HoldWithDAeffects1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008833/0.0008832, allocations: 184 kB / 16.71 MB, free: 4.973 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.279/1.279, allocations: 225.7 MB / 243.2 MB, free: 8.457 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.0007414/0.0007414, allocations: 94.12 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000284/0.0002841, allocations: 15.92 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2419, allocations: 50.41 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001723/0.2437, allocations: 1.534 MB / 406.1 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007817/0.2445, allocations: 0.5713 MB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.2446, allocations: 7.938 kB / 406.7 MB, free: 29.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2448, allocations: 17.42 kB / 406.7 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.2449, allocations: 19.86 kB / 406.7 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.2452, allocations: 83.84 kB / 406.8 MB, free: 29.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.2454, allocations: 127.6 kB / 406.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2455, allocations: 61.86 kB / 407 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.2456, allocations: 39.73 kB / 407 MB, free: 28.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.2457, allocations: 42.5 kB / 407.1 MB, free: 28.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.2457, allocations: 0 / 407.1 MB, free: 28.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.659e-05/0.2457, allocations: 4 kB / 407.1 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.2458, allocations: 31.78 kB / 407.1 MB, free: 28.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.747e-05/0.2458, allocations: 69.33 kB / 407.2 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.246, allocations: 131.5 kB / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.246, allocations: 0 / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.246, allocations: 0.75 kB / 407.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.246, allocations: 0 / 407.3 MB, free: 28.59 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.0004533/0.2465, allocations: 437.6 kB / 407.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2465, allocations: 8.031 kB / 407.7 MB, free: 28.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.2466, allocations: 16.75 kB / 407.8 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2468, allocations: 236.9 kB / 408 MB, free: 27.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2468, allocations: 12.12 kB / 408 MB, free: 27.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.2468, allocations: 12 kB / 408 MB, free: 27.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.2473, allocations: 297.3 kB / 408.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2473, allocations: 0 / 408.3 MB, free: 27.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2473, allocations: 4 kB / 408.3 MB, free: 27.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2473, allocations: 7.938 kB / 408.3 MB, free: 27.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.2475, allocations: 87.81 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.2479, allocations: 427.4 kB / 408.8 MB, free: 26.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.2483, allocations: 306 kB / 409.1 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.2485, allocations: 120.4 kB / 409.2 MB, free: 26.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2485, allocations: 7.984 kB / 409.2 MB, free: 26.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.2485, allocations: 38.56 kB / 409.3 MB, free: 26.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.2485, allocations: 0 / 409.3 MB, free: 26.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004654/0.249, allocations: 229.2 kB / 409.5 MB, free: 26.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.2491, allocations: 208.6 kB / 409.7 MB, free: 25.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.2492, allocations: 176.3 kB / 409.9 MB, free: 25.69 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.2492, allocations: 29.7 kB / 409.9 MB, free: 25.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.2493, allocations: 104.1 kB / 410 MB, free: 25.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2493, allocations: 15.84 kB / 410 MB, free: 25.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.2493, allocations: 4 kB / 410 MB, free: 25.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.516e-05/0.2494, allocations: 322.8 kB / 410.3 MB, free: 25.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.493e-05/0.2494, allocations: 31.98 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.33e-05/0.2495, allocations: 122.6 kB / 410.5 MB, free: 25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2497, allocations: 169.5 kB / 410.7 MB, free: 24.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2497, allocations: 0 / 410.7 MB, free: 24.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002052/0.2499, allocations: 169.2 kB / 410.8 MB, free: 24.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.2499, allocations: 7.938 kB / 410.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2499, allocations: 4 kB / 410.8 MB, free: 24.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2499, allocations: 4 kB / 410.8 MB, free: 24.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.2501, allocations: 39.91 kB / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.2501, allocations: 4.5 kB / 410.9 MB, free: 24.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.2502, allocations: 19.84 kB / 410.9 MB, free: 24.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.2502, allocations: 15.94 kB / 410.9 MB, free: 24.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.31e-05/0.2503, allocations: 133.8 kB / 411 MB, free: 24.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.2505, allocations: 153.3 kB / 411.2 MB, free: 24.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.2506, allocations: 25.42 kB / 411.2 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.2506, allocations: 4 kB / 411.2 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2506, allocations: 4 kB / 411.2 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2506, allocations: 0 / 411.2 MB, free: 24.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.2508, allocations: 213.5 kB / 411.4 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2508, allocations: 0 / 411.4 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.2509, allocations: 47.91 kB / 411.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2509, allocations: 3.938 kB / 411.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.2509, allocations: 7.938 kB / 411.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.251, allocations: 4 kB / 411.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.251, allocations: 0 / 411.5 MB, free: 23.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.2513, allocations: 373.3 kB / 411.9 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.2513, allocations: 108.9 kB / 412 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2514, allocations: 11.88 kB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.2515, allocations: 15.98 kB / 412 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2515, allocations: 8 kB / 412 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.2515, allocations: 8 kB / 412 MB, free: 23.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.2516, allocations: 132.2 kB / 412.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2516, allocations: 3.938 kB / 412.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.2519, allocations: 23.94 kB / 412.2 MB, free: 23.16 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001044/0.252, allocations: 108.6 kB / 412.3 MB, free: 23.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.2522, allocations: 123.8 kB / 412.4 MB, free: 22.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2523, allocations: 0 / 412.4 MB, free: 22.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.2523, allocations: 13 kB / 412.4 MB, free: 22.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.2529, allocations: 121.8 kB / 412.5 MB, free: 22.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.2537, allocations: 430.5 kB / 413 MB, free: 22.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001646/0.2538, allocations: 0.7202 MB / 413.7 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.367e-05/0.2539, allocations: 17.55 kB / 413.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.2539, allocations: 15.44 kB / 413.7 MB, free: 21.56 MB / 298.7 MB Notification: Performance of SimCode: time 2.6e-07/0.2539, allocations: 0 / 413.7 MB, free: 21.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003768/0.2577, allocations: 1.544 MB / 415.2 MB, free: 20.04 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches