Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002433/0.002433, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 226.7 MB / 245.5 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 105.8 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009934/0.0009932, allocations: 55.91 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2902, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00317/0.2934, allocations: 1.918 MB / 409 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.2946, allocations: 0.6574 MB / 409.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.2947, allocations: 4 kB / 409.6 MB, free: 25.24 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.2949, allocations: 15.86 kB / 409.6 MB, free: 25.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.295, allocations: 23.84 kB / 409.7 MB, free: 25.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2954, allocations: 91.8 kB / 409.8 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.2956, allocations: 134.1 kB / 409.9 MB, free: 24.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2958, allocations: 60.72 kB / 410 MB, free: 24.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.296, allocations: 55.72 kB / 410 MB, free: 24.87 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.375e-05/0.2961, allocations: 47.7 kB / 410.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2961, allocations: 4 kB / 410.1 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.77e-05/0.2962, allocations: 12 kB / 410.1 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.2962, allocations: 27.86 kB / 410.1 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.128e-05/0.2963, allocations: 55.61 kB / 410.1 MB, free: 24.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.2965, allocations: 139.5 kB / 410.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2965, allocations: 0 / 410.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2965, allocations: 0 / 410.3 MB, free: 24.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2965, allocations: 0 / 410.3 MB, free: 24.59 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.0006966/0.2972, allocations: 452.4 kB / 410.7 MB, free: 24.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2972, allocations: 12.03 kB / 410.7 MB, free: 24.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.2975, allocations: 28.66 kB / 410.8 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.2977, allocations: 241.4 kB / 411 MB, free: 23.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.2978, allocations: 16.11 kB / 411 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.2978, allocations: 8 kB / 411 MB, free: 23.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005327/0.2983, allocations: 278.6 kB / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.2984, allocations: 0 / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.2984, allocations: 0 / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2984, allocations: 4 kB / 411.3 MB, free: 23.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.2986, allocations: 79.88 kB / 411.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.299, allocations: 431.3 kB / 411.8 MB, free: 22.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.2994, allocations: 302 kB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2996, allocations: 116.3 kB / 412.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2996, allocations: 0 / 412.2 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.2996, allocations: 38.5 kB / 412.2 MB, free: 22.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.2996, allocations: 4 kB / 412.3 MB, free: 22.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004921/0.3001, allocations: 221.2 kB / 412.5 MB, free: 22.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.105e-05/0.3002, allocations: 187.9 kB / 412.7 MB, free: 21.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3004, allocations: 179.6 kB / 412.8 MB, free: 21.72 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3004, allocations: 33.7 kB / 412.9 MB, free: 21.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.3004, allocations: 100.1 kB / 413 MB, free: 21.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.3005, allocations: 15.89 kB / 413 MB, free: 21.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.3005, allocations: 29.62 kB / 413 MB, free: 21.53 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.253e-05/0.3006, allocations: 326.8 kB / 413.3 MB, free: 21.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.3006, allocations: 23.92 kB / 413.3 MB, free: 21.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.798e-05/0.3007, allocations: 130.6 kB / 413.5 MB, free: 21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3009, allocations: 165.6 kB / 413.6 MB, free: 20.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3009, allocations: 3.938 kB / 413.6 MB, free: 20.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002249/0.3012, allocations: 161.2 kB / 413.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3012, allocations: 8.438 kB / 413.8 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3012, allocations: 4 kB / 413.8 MB, free: 20.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3012, allocations: 11.94 kB / 413.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3014, allocations: 39.91 kB / 413.9 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3014, allocations: 4 kB / 413.9 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.3015, allocations: 15.94 kB / 413.9 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3015, allocations: 8 kB / 413.9 MB, free: 20.53 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 0.0001086/0.3016, allocations: 143.6 kB / 414 MB, free: 20.38 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3018, allocations: 145.3 kB / 414.2 MB, free: 20.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.793e-05/0.3019, allocations: 25.39 kB / 414.2 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3019, allocations: 7.938 kB / 414.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3019, allocations: 4 kB / 414.2 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3019, allocations: 4 kB / 414.2 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002104/0.3021, allocations: 217.4 kB / 414.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3021, allocations: 3.984 kB / 414.4 MB, free: 19.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3023, allocations: 31.98 kB / 414.5 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3023, allocations: 3.938 kB / 414.5 MB, free: 19.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3023, allocations: 8 kB / 414.5 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3023, allocations: 4.031 kB / 414.5 MB, free: 19.88 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3023, allocations: 7.984 kB / 414.5 MB, free: 19.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005837/0.3029, allocations: 0.9663 MB / 415.4 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.303, allocations: 112.8 kB / 415.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.303, allocations: 4 kB / 415.6 MB, free: 18.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3031, allocations: 11.98 kB / 415.6 MB, free: 18.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.3032, allocations: 4 kB / 415.6 MB, free: 18.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3032, allocations: 4 kB / 415.6 MB, free: 18.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.3033, allocations: 145.1 kB / 415.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3033, allocations: 0 / 415.7 MB, free: 18.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004011/0.3037, allocations: 23.91 kB / 415.7 MB, free: 18.52 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 0.0001315/0.3039, allocations: 107.1 kB / 415.8 MB, free: 18.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3041, allocations: 116.6 kB / 416 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3042, allocations: 0 / 416 MB, free: 18.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.3042, allocations: 11.98 kB / 416 MB, free: 18.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.3049, allocations: 100.3 kB / 416.1 MB, free: 18.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.3058, allocations: 0.5511 MB / 416.6 MB, free: 17.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.306, allocations: 0.728 MB / 417.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.3061, allocations: 17.55 kB / 417.4 MB, free: 16.81 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.3061, allocations: 19.38 kB / 417.4 MB, free: 16.79 MB / 298.7 MB Notification: Performance of SimCode: time 3.4e-07/0.3061, allocations: 0 / 417.4 MB, free: 16.79 MB / 298.7 MB Notification: Performance of Templates: time 0.003969/0.3101, allocations: 1.628 MB / 419 MB, free: 15.18 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches