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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.001059/0.001059, allocations: 196 kB / 18 MB, free: 5.051 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 43.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3649, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003141/0.3681, allocations: 1.867 MB / 402.6 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001088/0.3692, allocations: 0.6312 MB / 403.2 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.3694, allocations: 7.938 kB / 403.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.3695, allocations: 15.8 kB / 403.2 MB, free: 6.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.3696, allocations: 31.72 kB / 403.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.37, allocations: 99.72 kB / 403.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.3702, allocations: 139.6 kB / 403.5 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3704, allocations: 57.72 kB / 403.6 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.405e-05/0.3705, allocations: 59.7 kB / 403.6 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.3705, allocations: 51.72 kB / 403.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3706, allocations: 12 kB / 403.7 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.082e-05/0.3706, allocations: 8 kB / 403.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.389e-05/0.3707, allocations: 35.84 kB / 403.7 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.3707, allocations: 59.61 kB / 403.8 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.371, allocations: 143.2 kB / 403.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.371, allocations: 3.938 kB / 403.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.371, allocations: 0 / 403.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.371, allocations: 0 / 403.9 MB, free: 5.664 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.0006013/0.3716, allocations: 458.8 kB / 404.4 MB, free: 5.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3716, allocations: 11.89 kB / 404.4 MB, free: 5.156 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.3717, allocations: 24.8 kB / 404.4 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.372, allocations: 245.8 kB / 404.7 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.372, allocations: 12.12 kB / 404.7 MB, free: 4.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.3721, allocations: 12 kB / 404.7 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.3726, allocations: 265.8 kB / 404.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3726, allocations: 4 kB / 404.9 MB, free: 4.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.3726, allocations: 7.984 kB / 405 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3726, allocations: 4 kB / 405 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.3729, allocations: 71.83 kB / 405 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004611/0.3733, allocations: 427.4 kB / 405.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004287/0.3738, allocations: 298.1 kB / 405.7 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.374, allocations: 104.3 kB / 405.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.374, allocations: 11.92 kB / 405.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.374, allocations: 42.56 kB / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.374, allocations: 0 / 405.9 MB, free: 3.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005138/0.3746, allocations: 221.6 kB / 406.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.3747, allocations: 192 kB / 406.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3748, allocations: 183.1 kB / 406.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.3749, allocations: 25.7 kB / 406.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.3749, allocations: 112.1 kB / 406.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.375, allocations: 7.938 kB / 406.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.375, allocations: 37.7 kB / 406.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3751, allocations: 326.8 kB / 407 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.3752, allocations: 27.92 kB / 407 MB, free: 2.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3754, allocations: 124.9 kB / 407.1 MB, free: 2.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3756, allocations: 169.5 kB / 407.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3756, allocations: 0 / 407.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002612/0.3759, allocations: 169.5 kB / 407.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3759, allocations: 7.938 kB / 407.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3759, allocations: 4 kB / 407.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/0.376, allocations: 4 kB / 407.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.3761, allocations: 35.92 kB / 407.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3761, allocations: 4 kB / 407.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.689e-05/0.3762, allocations: 19.89 kB / 407.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.3762, allocations: 12.36 kB / 407.5 MB, free: 1.602 MB / 318.1 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 0.0001175/0.3764, allocations: 130 kB / 407.7 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002904/0.3767, allocations: 157.5 kB / 407.8 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.331e-05/0.3767, allocations: 21.39 kB / 407.8 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3767, allocations: 4 kB / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3767, allocations: 0 / 407.8 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.3767, allocations: 4 kB / 407.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.377, allocations: 217.5 kB / 408.1 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3771, allocations: 4 kB / 408.1 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.3772, allocations: 40.02 kB / 408.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3772, allocations: 3.938 kB / 408.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.3772, allocations: 7.984 kB / 408.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3772, allocations: 3.938 kB / 408.1 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3773, allocations: 8 kB / 408.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004118/0.3777, allocations: 349.2 kB / 408.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.3778, allocations: 112.9 kB / 408.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.3778, allocations: 7.938 kB / 408.6 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.378, allocations: 15.98 kB / 408.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.378, allocations: 3.938 kB / 408.6 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.378, allocations: 8 kB / 408.6 MB, free: 420 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.3781, allocations: 137.2 kB / 408.7 MB, free: 284 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3781, allocations: 0 / 408.7 MB, free: 284 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.3785, allocations: 20 kB / 408.8 MB, free: 264 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: 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.0001256/0.3786, allocations: 107.2 kB / 408.9 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003035/0.3789, allocations: 116.2 kB / 409 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3789, allocations: 3.938 kB / 409 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/0.379, allocations: 15.92 kB / 409 MB, free: 12 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/0.3796, allocations: 100.2 kB / 409.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.3805, allocations: 363.9 kB / 409.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.3809, allocations: 0.7279 MB / 410.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.319e-05/0.381, allocations: 9.562 kB / 410.2 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.381, allocations: 19.42 kB / 410.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3811, allocations: 4 kB / 410.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004462/0.3855, allocations: 1.697 MB / 411.9 MB, free: 13.06 MB / 334.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches