Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009524/0.0009524, allocations: 93.55 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 175.2 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 242.3 MB, free: 252 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002237/0.0002237, allocations: 9.25 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0742/0.07444, allocations: 50.41 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001772/0.07625, allocations: 1.561 MB / 354.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008372/0.0771, allocations: 0.6041 MB / 354.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.07721, allocations: 7.938 kB / 354.7 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.07732, allocations: 15.8 kB / 354.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.772e-05/0.07742, allocations: 19.86 kB / 354.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.07773, allocations: 87.11 kB / 354.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.07789, allocations: 139.5 kB / 354.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.07803, allocations: 49.72 kB / 355 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.182e-05/0.07812, allocations: 43.72 kB / 355 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.206e-05/0.0782, allocations: 43.72 kB / 355.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.07823, allocations: 7.938 kB / 355.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.07825, allocations: 0 / 355.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.07831, allocations: 27.86 kB / 355.1 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.513e-05/0.07837, allocations: 73.31 kB / 355.2 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.07849, allocations: 103.8 kB / 355.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.0785, allocations: 0 / 355.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.0785, allocations: 0 / 355.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.616e-06/0.07851, allocations: 0 / 355.3 MB, free: 0.9219 MB / 286.1 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.0004799/0.079, allocations: 427.3 kB / 355.7 MB, free: 468 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.07904, allocations: 8.031 kB / 355.7 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.07909, allocations: 24.75 kB / 355.7 MB, free: 436 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.07932, allocations: 237.6 kB / 355.9 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.07934, allocations: 12.12 kB / 356 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.07936, allocations: 12 kB / 356 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005775/0.07995, allocations: 298.9 kB / 356.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.07997, allocations: 4 kB / 356.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.07999, allocations: 4 kB / 356.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.08, allocations: 7.984 kB / 356.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.08024, allocations: 83.89 kB / 356.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.08065, allocations: 427.3 kB / 356.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.08112, allocations: 306.2 kB / 357.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.08133, allocations: 116.2 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.08136, allocations: 11.98 kB / 357.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.08139, allocations: 38.55 kB / 357.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.0814, allocations: 4 kB / 357.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005666/0.08197, allocations: 237.2 kB / 357.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.531e-05/0.08207, allocations: 200.3 kB / 357.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.08223, allocations: 183.1 kB / 357.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.08226, allocations: 25.7 kB / 357.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.08232, allocations: 100.5 kB / 358 MB, free: 13.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.08234, allocations: 15.89 kB / 358 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.08238, allocations: 21.7 kB / 358 MB, free: 13.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.08248, allocations: 330.8 kB / 358.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.08256, allocations: 23.98 kB / 358.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.0827, allocations: 151.4 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.08291, allocations: 170.4 kB / 358.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.08292, allocations: 0 / 358.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000287/0.08322, allocations: 185.1 kB / 358.9 MB, free: 12.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.08324, allocations: 7.938 kB / 358.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.08325, allocations: 4 kB / 358.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.08327, allocations: 4 kB / 358.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.0834, allocations: 44.44 kB / 358.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.08342, allocations: 7.938 kB / 358.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.08354, allocations: 27.78 kB / 358.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.08356, allocations: 12 kB / 359 MB, free: 12.76 MB / 302.1 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 0.0001019/0.08367, allocations: 141.7 kB / 359.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.08397, allocations: 149.4 kB / 359.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.08403, allocations: 21.39 kB / 359.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.08404, allocations: 4 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.08405, allocations: 4 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.08406, allocations: 3.938 kB / 359.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.08433, allocations: 225.5 kB / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.08434, allocations: 0 / 359.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.08449, allocations: 35.98 kB / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.0845, allocations: 0 / 359.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.08452, allocations: 12.02 kB / 359.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.08453, allocations: 15.88 kB / 359.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.08454, allocations: 0 / 359.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003959/0.08494, allocations: 375.7 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.739e-05/0.08503, allocations: 104.8 kB / 360 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.08506, allocations: 8 kB / 360 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.08523, allocations: 15.98 kB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.08526, allocations: 11.94 kB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.08528, allocations: 11.92 kB / 360.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.283e-05/0.08538, allocations: 133.2 kB / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08538, allocations: 0 / 360.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003388/0.08573, allocations: 20 kB / 360.2 MB, free: 11.39 MB / 302.1 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.93e-05/0.08582, allocations: 111.2 kB / 360.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.08611, allocations: 119.8 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.08612, allocations: 0 / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.08618, allocations: 17.05 kB / 360.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006637/0.08685, allocations: 117.2 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.08743, allocations: 407 kB / 361 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.08768, allocations: 0.728 MB / 361.7 MB, free: 9.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.08773, allocations: 19.42 kB / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.08774, allocations: 0 / 361.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Templates: time 0.003107/0.09085, allocations: 1.797 MB / 363.5 MB, free: 8.023 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches