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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 108.6 kB / 21.18 MB, free: 0.7734 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.001699/0.001699, allocations: 189.4 kB / 24.47 MB, free: 4.184 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.426/1.426, 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 371.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 52.18 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00322/0.2785, allocations: 1.892 MB / 425.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2796, allocations: 0.634 MB / 426.4 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2797, allocations: 7.938 kB / 426.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001387/0.2799, allocations: 19.73 kB / 426.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.28, allocations: 27.78 kB / 426.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.2804, allocations: 103.7 kB / 426.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.2806, allocations: 139.6 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.2807, allocations: 49.89 kB / 426.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2808, allocations: 59.72 kB / 426.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.573e-05/0.2809, allocations: 51.7 kB / 426.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.2809, allocations: 8 kB / 426.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.16e-05/0.2809, allocations: 12 kB / 426.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.281, allocations: 31.86 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.2811, allocations: 67.55 kB / 427 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2813, allocations: 140.6 kB / 427.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2813, allocations: 3.938 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2813, allocations: 4 kB / 427.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.2813, 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.0005989/0.2819, allocations: 373.7 kB / 427.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2819, allocations: 12.03 kB / 427.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.282, allocations: 20.8 kB / 427.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.2823, allocations: 192 kB / 427.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.2824, allocations: 12.12 kB / 427.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.2824, allocations: 4 kB / 427.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005921/0.283, allocations: 294.5 kB / 428 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.283, allocations: 4 kB / 428 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.283, allocations: 4 kB / 428 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.283, allocations: 4 kB / 428 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.2832, allocations: 67.88 kB / 428.1 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.2837, allocations: 406.5 kB / 428.5 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004206/0.2841, allocations: 205 kB / 428.7 MB, free: 9.691 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.2843, allocations: 116.2 kB / 428.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.2843, allocations: 7.984 kB / 428.8 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.2844, allocations: 38.56 kB / 428.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.2844, allocations: 0 / 428.8 MB, free: 9.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005484/0.2849, allocations: 225.3 kB / 429.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.2851, allocations: 191.9 kB / 429.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.2852, allocations: 187.2 kB / 429.4 MB, free: 8.859 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2853, allocations: 30.08 kB / 429.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.2853, allocations: 104.5 kB / 429.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.2854, allocations: 23.83 kB / 429.6 MB, free: 8.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.2854, allocations: 37.7 kB / 429.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.2855, allocations: 322.8 kB / 429.9 MB, free: 8.324 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.2856, allocations: 23.98 kB / 430 MB, free: 8.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.2858, allocations: 139.4 kB / 430.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.286, allocations: 170.4 kB / 430.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.286, allocations: 0 / 430.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002848/0.2863, allocations: 173.2 kB / 430.4 MB, free: 7.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2863, allocations: 8.531 kB / 430.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2863, allocations: 4 kB / 430.4 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2863, allocations: 8 kB / 430.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.2864, allocations: 43.91 kB / 430.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.2865, allocations: 7.938 kB / 430.5 MB, free: 7.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2866, allocations: 23.83 kB / 430.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.2866, allocations: 8 kB / 430.5 MB, free: 7.613 MB / 334.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.0001205/0.2867, allocations: 141.7 kB / 430.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/0.287, allocations: 141.5 kB / 430.8 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.097e-05/0.287, allocations: 25.39 kB / 430.8 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.287, allocations: 7.938 kB / 430.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.287, allocations: 0 / 430.8 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.287, allocations: 3.938 kB / 430.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.2873, allocations: 188.6 kB / 431 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.2873, allocations: 4 kB / 431 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.2874, allocations: 35.98 kB / 431.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2875, allocations: 0 / 431.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2875, allocations: 4 kB / 431.1 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.2875, allocations: 11.95 kB / 431.1 MB, free: 7 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2875, allocations: 4 kB / 431.1 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.2879, allocations: 360.4 kB / 431.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.288, allocations: 39.77 kB / 431.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.742e-05/0.288, allocations: 8 kB / 431.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.2882, allocations: 11.98 kB / 431.5 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.2882, allocations: 3.938 kB / 431.5 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.2882, allocations: 12 kB / 431.5 MB, free: 6.547 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001184/0.2883, allocations: 137.1 kB / 431.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2883, allocations: 0 / 431.7 MB, free: 6.414 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003231/0.2887, allocations: 24 kB / 431.7 MB, free: 6.391 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: 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.000119/0.2888, allocations: 103.2 kB / 431.8 MB, free: 6.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.2891, allocations: 116.7 kB / 431.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2891, allocations: 0 / 431.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.036e-05/0.2891, allocations: 24.05 kB / 431.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.2898, allocations: 105.1 kB / 432 MB, free: 6.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.2904, allocations: 357.1 kB / 432.4 MB, free: 5.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.2908, allocations: 0.7398 MB / 433.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.2909, allocations: 19.38 kB / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2909, allocations: 0 / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of Templates: time 0.003814/0.2947, allocations: 1.834 MB / 435 MB, free: 3.043 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.018058964982629]