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.001137/0.001137, allocations: 114 kB / 17.06 MB, free: 5.988 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.001196/0.001196, allocations: 198.8 kB / 18 MB, free: 5.07 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.381/1.381, allocations: 222.9 MB / 241.7 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001324, allocations: 51.92 kB / 351.3 MB, free: 3.223 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3464, allocations: 49.43 MB / 400.7 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003805/0.3502, allocations: 1.859 MB / 402.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3517, allocations: 0.6234 MB / 403.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.352, allocations: 11.88 kB / 403.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002478/0.3523, allocations: 19.8 kB / 403.2 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.3525, allocations: 31.72 kB / 403.3 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.3531, allocations: 102.7 kB / 403.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.3534, allocations: 135.6 kB / 403.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.3537, allocations: 57.72 kB / 403.6 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3538, allocations: 67.7 kB / 403.6 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001375/0.354, allocations: 51.66 kB / 403.7 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.354, allocations: 8 kB / 403.7 MB, free: 5.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.027e-05/0.3541, allocations: 12 kB / 403.7 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.3542, allocations: 27.86 kB / 403.7 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.3543, allocations: 67.59 kB / 403.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.3546, allocations: 139.4 kB / 403.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3546, allocations: 4 kB / 403.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3546, allocations: 0 / 403.9 MB, free: 5.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.3546, allocations: 0 / 403.9 MB, free: 5.648 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.0008622/0.3555, allocations: 456.1 kB / 404.4 MB, free: 5.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/0.3555, allocations: 15.89 kB / 404.4 MB, free: 5.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.67e-05/0.3556, allocations: 16.75 kB / 404.4 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3562, allocations: 241.7 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3562, allocations: 12.12 kB / 404.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.3562, allocations: 12 kB / 404.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007099/0.357, allocations: 291.7 kB / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.357, allocations: 0 / 405 MB, free: 4.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.357, allocations: 8 kB / 405 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.357, allocations: 0 / 405 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.3573, allocations: 71.89 kB / 405 MB, free: 4.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.3579, allocations: 431.4 kB / 405.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.3584, allocations: 298 kB / 405.7 MB, free: 3.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000197/0.3586, allocations: 112.3 kB / 405.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.3587, allocations: 12 kB / 405.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3587, allocations: 34.56 kB / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/0.3587, allocations: 0 / 405.9 MB, free: 3.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005688/0.3593, allocations: 217.6 kB / 406.1 MB, free: 3.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.3595, allocations: 195.9 kB / 406.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.3596, allocations: 183.1 kB / 406.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.3597, allocations: 33.64 kB / 406.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.3597, allocations: 100.5 kB / 406.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3598, allocations: 19.83 kB / 406.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.3599, allocations: 37.81 kB / 406.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.36, allocations: 326.8 kB / 407 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.427e-05/0.3601, allocations: 27.98 kB / 407 MB, free: 2.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.3603, allocations: 143.3 kB / 407.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.3605, allocations: 166.4 kB / 407.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3605, allocations: 4 kB / 407.3 MB, free: 1.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003333/0.3609, allocations: 173.2 kB / 407.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3609, allocations: 4 kB / 407.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3609, allocations: 4 kB / 407.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.3609, allocations: 8 kB / 407.5 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3611, allocations: 40.45 kB / 407.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3611, allocations: 11.98 kB / 407.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.3612, allocations: 19.78 kB / 407.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.3612, allocations: 8 kB / 407.6 MB, free: 1.531 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.0001291/0.3614, allocations: 133.8 kB / 407.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.3617, allocations: 149.3 kB / 407.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.3617, allocations: 21.39 kB / 407.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3617, allocations: 4.031 kB / 407.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3617, allocations: 4 kB / 407.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3618, allocations: 7.938 kB / 407.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.362, allocations: 221.4 kB / 408.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3621, allocations: 0 / 408.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3622, allocations: 43.97 kB / 408.2 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3622, allocations: 4.234 kB / 408.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.3622, allocations: 0 / 408.2 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3622, allocations: 4 kB / 408.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3622, allocations: 0 / 408.2 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.3627, allocations: 368.9 kB / 408.5 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3628, allocations: 112.8 kB / 408.6 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.3628, allocations: 8 kB / 408.6 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.363, allocations: 15.98 kB / 408.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.363, allocations: 3.938 kB / 408.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.3631, allocations: 12 kB / 408.7 MB, free: 332 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3632, allocations: 129.2 kB / 408.8 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3632, allocations: 0 / 408.8 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003403/0.3635, allocations: 24 kB / 408.8 MB, free: 180 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.0001625/0.3637, allocations: 107.1 kB / 408.9 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003785/0.3641, allocations: 119.8 kB / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3641, allocations: 0 / 409.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.3642, allocations: 17.05 kB / 409.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006958/0.3649, allocations: 118.8 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.3656, allocations: 306.4 kB / 409.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.366, allocations: 0.7357 MB / 410.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.3661, allocations: 13.55 kB / 410.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.468e-05/0.3661, allocations: 15.44 kB / 410.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3661, allocations: 0 / 410.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of Templates: time 0.005626/0.3717, allocations: 1.765 MB / 412 MB, free: 12.94 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