Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 102.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008417/0.0008419, allocations: 31.95 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2448, allocations: 49.45 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002617/0.2474, allocations: 1.904 MB / 401.4 MB, free: 31.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.2482, allocations: 0.604 MB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.2483, allocations: 7.938 kB / 402 MB, free: 30.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2485, allocations: 15.73 kB / 402 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.336e-05/0.2486, allocations: 23.84 kB / 402 MB, free: 30.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.2488, allocations: 87.84 kB / 402.1 MB, free: 30.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.249, allocations: 127.6 kB / 402.2 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2491, allocations: 58.77 kB / 402.3 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.2492, allocations: 51.72 kB / 402.4 MB, free: 30.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.568e-05/0.2493, allocations: 47.7 kB / 402.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.2493, allocations: 8 kB / 402.4 MB, free: 30.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.2493, allocations: 4 kB / 402.4 MB, free: 30.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.2494, allocations: 31.8 kB / 402.4 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.2494, allocations: 59.59 kB / 402.5 MB, free: 30.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.2495, allocations: 127.5 kB / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2495, allocations: 0 / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.2495, allocations: 0 / 402.6 MB, free: 30.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.125e-06/0.2496, allocations: 4 kB / 402.6 MB, free: 30.2 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.0004441/0.25, allocations: 446.1 kB / 403.1 MB, free: 29.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.25, allocations: 12.03 kB / 403.1 MB, free: 29.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.2501, allocations: 20.66 kB / 403.1 MB, free: 29.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.2503, allocations: 241.7 kB / 403.3 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2503, allocations: 12.12 kB / 403.3 MB, free: 29.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.2503, allocations: 4 kB / 403.3 MB, free: 29.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.2508, allocations: 277.3 kB / 403.6 MB, free: 29.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.2508, allocations: 8 kB / 403.6 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2508, allocations: 4 kB / 403.6 MB, free: 29.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.2508, allocations: 7.938 kB / 403.6 MB, free: 29.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.251, allocations: 71.88 kB / 403.7 MB, free: 29.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.2514, allocations: 423.4 kB / 404.1 MB, free: 28.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.2517, allocations: 298 kB / 404.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2519, allocations: 120.2 kB / 404.5 MB, free: 28.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2519, allocations: 12 kB / 404.5 MB, free: 28.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.436e-05/0.2519, allocations: 30.56 kB / 404.6 MB, free: 27.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.2519, allocations: 4 kB / 404.6 MB, free: 27.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004739/0.2524, allocations: 221.5 kB / 404.8 MB, free: 27.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.2525, allocations: 195.9 kB / 405 MB, free: 27.53 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.2526, allocations: 179.1 kB / 405.2 MB, free: 27.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.2526, allocations: 25.7 kB / 405.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.2527, allocations: 108.1 kB / 405.3 MB, free: 27.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.2527, allocations: 11.91 kB / 405.3 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.2527, allocations: 37.61 kB / 405.3 MB, free: 27.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.089e-05/0.2528, allocations: 330.9 kB / 405.7 MB, free: 26.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-05/0.2529, allocations: 19.98 kB / 405.7 MB, free: 26.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.254e-05/0.2529, allocations: 132.9 kB / 405.8 MB, free: 26.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2531, allocations: 157.5 kB / 406 MB, free: 26.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2531, allocations: 4 kB / 406 MB, free: 26.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000208/0.2533, allocations: 161.3 kB / 406.1 MB, free: 26.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2533, allocations: 11.94 kB / 406.1 MB, free: 26.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2533, allocations: 4 kB / 406.1 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2534, allocations: 4 kB / 406.1 MB, free: 26.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.2535, allocations: 31.92 kB / 406.2 MB, free: 26.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2535, allocations: 11.98 kB / 406.2 MB, free: 26.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.454e-05/0.2536, allocations: 15.88 kB / 406.2 MB, free: 26.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.2536, allocations: 8.312 kB / 406.2 MB, free: 26.16 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 6.936e-05/0.2537, allocations: 141.8 kB / 406.3 MB, free: 26.02 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000226/0.2539, allocations: 149.6 kB / 406.5 MB, free: 25.86 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.2539, allocations: 21.39 kB / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.254, allocations: 4 kB / 406.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.254, allocations: 4 kB / 406.5 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.254, allocations: 3.938 kB / 406.5 MB, free: 25.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2542, allocations: 221.4 kB / 406.7 MB, free: 25.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.2542, allocations: 4.031 kB / 406.7 MB, free: 25.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2543, allocations: 35.97 kB / 406.8 MB, free: 25.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2543, allocations: 11.88 kB / 406.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.2543, allocations: 4 kB / 406.8 MB, free: 25.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2543, allocations: 4 kB / 406.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2543, allocations: 3.984 kB / 406.8 MB, free: 25.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.2548, allocations: 0.9675 MB / 407.8 MB, free: 24.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2549, allocations: 112.9 kB / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.2549, allocations: 0 / 407.9 MB, free: 24.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.2551, allocations: 19.98 kB / 407.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.2551, allocations: 0 / 407.9 MB, free: 24.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.2551, allocations: 8 kB / 407.9 MB, free: 24.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.644e-05/0.2552, allocations: 133.2 kB / 408 MB, free: 24.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2552, allocations: 0 / 408 MB, free: 24.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003838/0.2556, allocations: 23.94 kB / 408.1 MB, free: 24.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 7.899e-05/0.2557, allocations: 112.1 kB / 408.2 MB, free: 24.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.2559, allocations: 119.7 kB / 408.3 MB, free: 23.92 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2559, allocations: 0 / 408.3 MB, free: 23.92 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.772e-05/0.256, allocations: 8 kB / 408.3 MB, free: 23.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006115/0.2566, allocations: 105.4 kB / 408.4 MB, free: 23.81 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007317/0.2573, allocations: 0.5544 MB / 409 MB, free: 23.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.2575, allocations: 0.7323 MB / 409.7 MB, free: 22.45 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.2575, allocations: 9.562 kB / 409.7 MB, free: 22.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.2576, allocations: 23.42 kB / 409.7 MB, free: 22.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2576, allocations: 0 / 409.7 MB, free: 22.42 MB / 298.7 MB Notification: Performance of Templates: time 0.003317/0.2609, allocations: 1.626 MB / 411.3 MB, free: 20.81 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@2/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