Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.002069/0.002069, 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.003062/0.003062, allocations: 212.4 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2722, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.00307/0.2753, allocations: 1.613 MB / 433.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2765, allocations: 0.5376 MB / 433.7 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.2766, allocations: 4 kB / 433.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.496e-05/0.2767, allocations: 7.875 kB / 433.8 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.2768, allocations: 15.86 kB / 433.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.2772, allocations: 59.81 kB / 433.8 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001452/0.2774, allocations: 55.78 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.2775, allocations: 15.98 kB / 433.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.2776, allocations: 27.86 kB / 433.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.2777, allocations: 31.84 kB / 434 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.2777, allocations: 3.938 kB / 434 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.177e-05/0.2778, allocations: 8 kB / 434 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.2778, allocations: 11.98 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.2779, allocations: 23.81 kB / 434 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2781, allocations: 73.91 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2781, allocations: 0 / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2781, allocations: 0 / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.2781, allocations: 0 / 434.1 MB, free: 4.223 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005651/0.2787, allocations: 313.8 kB / 434.4 MB, free: 3.887 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.2787, allocations: 12.03 kB / 434.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.2789, allocations: 20.88 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.2792, allocations: 154.8 kB / 434.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.2792, allocations: 4.375 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.2792, allocations: 8.125 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.2795, allocations: 134.7 kB / 434.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2795, allocations: 4 kB / 434.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2795, allocations: 3.938 kB / 434.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2795, allocations: 0 / 434.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.501e-05/0.2796, allocations: 27.92 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003689/0.28, allocations: 235.1 kB / 435 MB, free: 3.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2802, allocations: 90.36 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.2803, allocations: 51.48 kB / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.2803, allocations: 0 / 435.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2803, allocations: 38.56 kB / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2803, allocations: 0 / 435.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003046/0.2806, allocations: 101.5 kB / 435.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/0.2807, allocations: 136.5 kB / 435.4 MB, free: 2.703 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.2809, allocations: 149.7 kB / 435.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.2809, allocations: 25.7 kB / 435.6 MB, free: 2.512 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.281, allocations: 96.14 kB / 435.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.281, allocations: 3.953 kB / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.281, allocations: 29.66 kB / 435.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2812, allocations: 318.8 kB / 436 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/0.2812, allocations: 15.92 kB / 436 MB, free: 2.039 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.618e-05/0.2813, allocations: 48.28 kB / 436.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.2814, allocations: 56.22 kB / 436.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2814, allocations: 0 / 436.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001726/0.2816, allocations: 89.5 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2816, allocations: 4 kB / 436.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2816, allocations: 4 kB / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.2816, allocations: 128 / 436.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.2817, allocations: 20.14 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2817, allocations: 4 kB / 436.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.2817, allocations: 4 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.2818, allocations: 7.938 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001002/0.2819, allocations: 113.8 kB / 436.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.2819, allocations: 61.58 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.282, allocations: 19.91 kB / 436.4 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.282, allocations: 4 kB / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.282, allocations: 0 / 436.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.282, allocations: 4.062 kB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2822, allocations: 125.2 kB / 436.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2822, allocations: 0 / 436.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.2822, allocations: 11.98 kB / 436.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.2822, allocations: 7.938 kB / 436.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.2822, allocations: 0 / 436.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2822, allocations: 4 kB / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2822, allocations: 0 / 436.6 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00023/0.2825, allocations: 209.9 kB / 436.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.2825, allocations: 23.88 kB / 436.8 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.2825, allocations: 7.984 kB / 436.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.331e-05/0.2826, allocations: 4 kB / 436.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.2826, allocations: 11.88 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2827, allocations: 0 / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.351e-05/0.2827, allocations: 119.2 kB / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2827, allocations: 0 / 437 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.283, allocations: 8 kB / 437 MB, free: 0.9727 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001137/0.2831, allocations: 95.25 kB / 437.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.2833, allocations: 47.91 kB / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2833, allocations: 0 / 437.1 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.978e-05/0.2833, allocations: 19.92 kB / 437.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.2837, allocations: 30.58 kB / 437.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.2842, allocations: 201.8 kB / 437.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.2843, allocations: 99.92 kB / 437.4 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.026e-05/0.2843, allocations: 12.05 kB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.2844, allocations: 7.438 kB / 437.5 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2844, allocations: 4 kB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of Templates: time 0.00363/0.288, allocations: 0.8131 MB / 438.3 MB, free: 15.61 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.532761970534921]