Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 209.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 55.92 kB / 378.2 MB, free: 2.531 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.275, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003331/0.2784, allocations: 1.832 MB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2797, allocations: 0.6662 MB / 434.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.2799, allocations: 7.938 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.28, allocations: 27.73 kB / 434.1 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.2801, allocations: 23.8 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004483/0.2806, allocations: 111.6 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.2808, allocations: 147.5 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.2809, allocations: 49.88 kB / 434.4 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2811, allocations: 59.73 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.2812, allocations: 51.69 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2812, allocations: 8 kB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.295e-05/0.2813, allocations: 20 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2813, allocations: 27.86 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.2814, allocations: 47.67 kB / 434.7 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.2817, allocations: 148.6 kB / 434.8 MB, free: 3.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.2817, allocations: 4 kB / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2817, allocations: 0 / 434.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.2817, allocations: 4 kB / 434.8 MB, free: 3.48 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.0006068/0.2823, allocations: 381.6 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.2823, allocations: 12.02 kB / 435.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2825, allocations: 28.84 kB / 435.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2829, allocations: 190.2 kB / 435.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.2829, allocations: 16.12 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.2829, allocations: 8 kB / 435.4 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007235/0.2836, allocations: 314.1 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.2837, allocations: 3.984 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.2837, allocations: 4 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.2837, allocations: 8 kB / 435.8 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.2839, allocations: 71.89 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.2844, allocations: 351.1 kB / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004679/0.2848, allocations: 201.1 kB / 436.4 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.2851, allocations: 116.2 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.2851, allocations: 0 / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.2851, allocations: 50.55 kB / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 2.335e-06/0.2851, allocations: 0 / 436.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005811/0.2857, allocations: 217.5 kB / 436.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.2859, allocations: 204 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.2861, allocations: 179.2 kB / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.2861, allocations: 29.7 kB / 437.1 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.2862, allocations: 108.4 kB / 437.2 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.2862, allocations: 11.95 kB / 437.3 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-05/0.2863, allocations: 37.66 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2864, allocations: 330.8 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.2865, allocations: 19.98 kB / 437.6 MB, free: 372 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.2867, allocations: 169.1 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.287, allocations: 178.5 kB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.287, allocations: 0 / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000323/0.2873, allocations: 177.2 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2873, allocations: 8 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2873, allocations: 7.938 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2873, allocations: 4 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.2875, allocations: 35.92 kB / 438.2 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.2875, allocations: 7.938 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001103/0.2876, allocations: 23.88 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.2876, allocations: 12.34 kB / 438.2 MB, free: 15.63 MB / 350.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.000128/0.2877, allocations: 133.8 kB / 438.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/0.288, allocations: 145.4 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.895e-05/0.2881, allocations: 25.41 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2881, allocations: 0 / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2881, allocations: 4 kB / 438.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.2881, allocations: 4.219 kB / 438.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.2884, allocations: 149.1 kB / 438.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2884, allocations: 4 kB / 438.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.2885, allocations: 40.02 kB / 438.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.2885, allocations: 3.984 kB / 438.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.2885, allocations: 7.984 kB / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2885, allocations: 0 / 438.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.2885, allocations: 11.88 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.289, allocations: 361.1 kB / 439.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2891, allocations: 35.78 kB / 439.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.2892, allocations: 12 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2894, allocations: 11.98 kB / 439.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2894, allocations: 3.938 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.2895, allocations: 8 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.2896, allocations: 132.4 kB / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 0 / 439.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000344/0.2899, allocations: 27.94 kB / 439.3 MB, free: 14.46 MB / 350.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.0001307/0.2901, allocations: 107.2 kB / 439.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.2904, allocations: 115.8 kB / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2904, allocations: 0 / 439.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.847e-05/0.2905, allocations: 11.98 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.2911, allocations: 103.5 kB / 439.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00069/0.2918, allocations: 323.6 kB / 440 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.292, allocations: 115.4 kB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.533e-05/0.292, allocations: 13.48 kB / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.2921, allocations: 23.44 kB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.2921, allocations: 0 / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Templates: time 0.005564/0.2976, allocations: 2.045 MB / 442.2 MB, free: 11.59 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.787244454026222]