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.001182/0.001183, allocations: 110.3 kB / 17.06 MB, free: 6.125 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.001387/0.001388, allocations: 191 kB / 18 MB, free: 5.207 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.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 47.91 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3402, allocations: 49.43 MB / 400.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00337/0.3436, allocations: 1.853 MB / 402.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.3449, allocations: 0.6312 MB / 403.2 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.345, allocations: 7.938 kB / 403.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3452, allocations: 15.8 kB / 403.2 MB, free: 6.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3454, allocations: 27.73 kB / 403.3 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.3458, allocations: 109.6 kB / 403.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001902/0.346, allocations: 139.6 kB / 403.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3462, allocations: 53.73 kB / 403.6 MB, free: 6.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3463, allocations: 63.7 kB / 403.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.3464, allocations: 51.7 kB / 403.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.87e-05/0.3464, allocations: 8 kB / 403.7 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.323e-05/0.3465, allocations: 12 kB / 403.7 MB, free: 5.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.643e-05/0.3465, allocations: 27.86 kB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.124e-05/0.3466, allocations: 67.59 kB / 403.8 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.3468, allocations: 139.4 kB / 403.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3468, allocations: 3.938 kB / 403.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.3468, allocations: 0 / 403.9 MB, free: 5.688 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.3469, allocations: 4 kB / 403.9 MB, free: 5.684 MB / 318.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.0006439/0.3475, allocations: 452.1 kB / 404.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3476, allocations: 15.89 kB / 404.4 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.3476, allocations: 16.75 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.3479, allocations: 249.7 kB / 404.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.348, allocations: 12.12 kB / 404.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.348, allocations: 4 kB / 404.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.3486, allocations: 292.1 kB / 404.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3486, allocations: 3.938 kB / 405 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.3486, allocations: 8 kB / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3487, allocations: 0 / 405 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.3489, allocations: 71.88 kB / 405 MB, free: 4.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.3493, allocations: 435.4 kB / 405.5 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.3498, allocations: 294.2 kB / 405.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.35, allocations: 112.2 kB / 405.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.35, allocations: 7.938 kB / 405.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.3501, allocations: 42.55 kB / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.3501, allocations: 0 / 405.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005437/0.3506, allocations: 213.3 kB / 406.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001403/0.3508, allocations: 195.9 kB / 406.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.351, allocations: 187.1 kB / 406.5 MB, free: 2.805 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.351, allocations: 25.7 kB / 406.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.3511, allocations: 100.9 kB / 406.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3511, allocations: 23.83 kB / 406.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.3512, allocations: 33.7 kB / 406.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3514, allocations: 326.8 kB / 407 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.3515, allocations: 23.98 kB / 407 MB, free: 2.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/0.3517, allocations: 143.3 kB / 407.1 MB, free: 2.059 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.3519, allocations: 174.4 kB / 407.3 MB, free: 1.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.485e-06/0.352, allocations: 4 kB / 407.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003349/0.3523, allocations: 173.2 kB / 407.5 MB, free: 1.656 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3523, allocations: 11.98 kB / 407.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.3524, allocations: 4.531 kB / 407.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.3524, allocations: 8 kB / 407.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3525, allocations: 35.92 kB / 407.5 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3526, allocations: 4 kB / 407.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.3527, allocations: 23.78 kB / 407.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.3527, allocations: 11.98 kB / 407.6 MB, free: 1.559 MB / 318.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.0001611/0.3529, allocations: 133.8 kB / 407.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.3532, allocations: 137.4 kB / 407.9 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.3533, allocations: 25.42 kB / 407.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3533, allocations: 7.938 kB / 407.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.3533, allocations: 0 / 407.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3533, allocations: 7.938 kB / 407.9 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3537, allocations: 225.4 kB / 408.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3537, allocations: 0 / 408.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.3539, allocations: 39.91 kB / 408.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.3539, allocations: 4 kB / 408.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.3539, allocations: 4.234 kB / 408.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3539, allocations: 4 kB / 408.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.354, allocations: 4 kB / 408.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.3544, allocations: 367.4 kB / 408.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3546, allocations: 112.8 kB / 408.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.3546, allocations: 7.984 kB / 408.6 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3548, allocations: 12 kB / 408.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.94e-05/0.3548, allocations: 7.922 kB / 408.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.3548, allocations: 12 kB / 408.7 MB, free: 364 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.355, allocations: 133.2 kB / 408.8 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.355, allocations: 0 / 408.8 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003752/0.3554, allocations: 20 kB / 408.8 MB, free: 212 kB / 318.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 0.0001807/0.3556, allocations: 115.1 kB / 408.9 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.356, allocations: 115.8 kB / 409.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.356, allocations: 1.062 kB / 409.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.572e-05/0.356, allocations: 8 kB / 409.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007807/0.3568, allocations: 120.4 kB / 409.2 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008757/0.3577, allocations: 315.5 kB / 409.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.3581, allocations: 0.7241 MB / 410.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.155e-05/0.3582, allocations: 17.55 kB / 410.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3583, allocations: 19.42 kB / 410.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3583, allocations: 0 / 410.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of Templates: time 0.006723/0.365, allocations: 1.755 MB / 412 MB, free: 12.98 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/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