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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002126/0.002126, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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=5019,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=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 55.86 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2838, allocations: 52.17 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003675/0.2875, allocations: 1.904 MB / 425.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.2887, allocations: 0.6235 MB / 426.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.2888, allocations: 11.88 kB / 426.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.289, allocations: 19.8 kB / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.2891, allocations: 23.78 kB / 426.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.2895, allocations: 119.2 kB / 426.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002236/0.2897, allocations: 143.6 kB / 426.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2899, allocations: 41.91 kB / 426.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.29, allocations: 55.72 kB / 426.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.2901, allocations: 55.7 kB / 426.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.2901, allocations: 8 kB / 426.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.412e-05/0.2901, allocations: 12 kB / 426.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.2902, allocations: 35.86 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.146e-05/0.2903, allocations: 59.61 kB / 427 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.2905, allocations: 144.6 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2905, allocations: 3.938 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2905, allocations: 4 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.2905, allocations: 0 / 427.1 MB, free: 11.44 MB / 334.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.0006504/0.2911, allocations: 377.7 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2912, allocations: 8.031 kB / 427.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.2912, allocations: 24.78 kB / 427.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.2916, allocations: 188 kB / 427.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.2916, allocations: 8.125 kB / 427.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.2916, allocations: 8 kB / 427.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.2922, allocations: 280.2 kB / 428 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.2923, allocations: 0 / 428 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2923, allocations: 4 kB / 428 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.2923, allocations: 4 kB / 428 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.2925, allocations: 75.81 kB / 428.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006001/0.2931, allocations: 394.5 kB / 428.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.2936, allocations: 209 kB / 428.7 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.2938, allocations: 112.3 kB / 428.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2938, allocations: 7.922 kB / 428.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.2938, allocations: 38.55 kB / 428.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.2938, allocations: 0 / 428.8 MB, free: 9.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005737/0.2944, allocations: 221.3 kB / 429.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.2946, allocations: 187.9 kB / 429.2 MB, free: 9.074 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.2947, allocations: 191.2 kB / 429.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.2948, allocations: 29.7 kB / 429.4 MB, free: 8.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.2949, allocations: 104.5 kB / 429.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.2949, allocations: 15.94 kB / 429.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.478e-05/0.2949, allocations: 33.7 kB / 429.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2951, allocations: 322.8 kB / 429.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.2952, allocations: 27.92 kB / 429.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.2953, allocations: 126.6 kB / 430.1 MB, free: 8.156 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.2955, allocations: 161.5 kB / 430.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2955, allocations: 0 / 430.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000277/0.2958, allocations: 165.2 kB / 430.4 MB, free: 7.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2958, allocations: 11.94 kB / 430.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.2958, allocations: 0 / 430.4 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.2958, allocations: 12 kB / 430.4 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.296, allocations: 32.42 kB / 430.4 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.296, allocations: 8 kB / 430.4 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2961, allocations: 23.88 kB / 430.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.2961, allocations: 8 kB / 430.5 MB, free: 7.688 MB / 334.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.0001273/0.2962, allocations: 133.8 kB / 430.6 MB, free: 7.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.2965, allocations: 145.7 kB / 430.8 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.2966, allocations: 25.41 kB / 430.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2966, allocations: 96 / 430.8 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2966, allocations: 11.97 kB / 430.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2966, allocations: 0 / 430.8 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.2969, allocations: 192.5 kB / 431 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2969, allocations: 0 / 431 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.297, allocations: 35.97 kB / 431 MB, free: 7.094 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/0.297, allocations: 7.938 kB / 431 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.297, allocations: 4 kB / 431 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.297, allocations: 7.938 kB / 431 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.297, allocations: 0 / 431 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.2975, allocations: 360 kB / 431.4 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.2976, allocations: 31.81 kB / 431.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2976, allocations: 11.94 kB / 431.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.2978, allocations: 11.98 kB / 431.4 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.2978, allocations: 11.94 kB / 431.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2978, allocations: 4 kB / 431.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.2979, allocations: 141.1 kB / 431.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2979, allocations: 0 / 431.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.2983, allocations: 20 kB / 431.6 MB, free: 6.473 MB / 334.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.0001162/0.2984, allocations: 95.25 kB / 431.7 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002931/0.2987, allocations: 111.8 kB / 431.8 MB, free: 6.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2987, allocations: 3.938 kB / 431.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.2987, allocations: 20.98 kB / 431.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.2994, allocations: 96.36 kB / 431.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.3002, allocations: 393.1 kB / 432.3 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3006, allocations: 0.728 MB / 433 MB, free: 4.961 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.814e-05/0.3007, allocations: 19.44 kB / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3007, allocations: 0 / 433.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of Templates: time 0.003824/0.3045, allocations: 1.775 MB / 434.8 MB, free: 3.176 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.082281918032095]