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.001817/0.001817, allocations: 111 kB / 21.19 MB, free: 0.4961 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.001433/0.001433, allocations: 214.7 kB / 24.48 MB, free: 3.809 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.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.816 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.001512/0.001512, allocations: 44.08 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2258, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003257/0.229, allocations: 1.839 MB / 434.2 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2303, allocations: 0.6584 MB / 434.8 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.2304, allocations: 7.938 kB / 434.8 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.2305, allocations: 19.73 kB / 434.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2307, allocations: 31.78 kB / 434.9 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.231, allocations: 107.7 kB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.2312, allocations: 143.6 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.2314, allocations: 52.84 kB / 435.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.2315, allocations: 63.72 kB / 435.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.985e-05/0.2316, allocations: 51.7 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.2317, allocations: 8 kB / 435.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.168e-05/0.2317, allocations: 20 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.2318, allocations: 31.86 kB / 435.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.103e-05/0.2318, allocations: 55.59 kB / 435.4 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.2321, allocations: 143.1 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2321, allocations: 7.922 kB / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2321, allocations: 0 / 435.6 MB, free: 3.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.2321, allocations: 0 / 435.6 MB, free: 3.496 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.0006044/0.2327, allocations: 384.4 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.2327, allocations: 12.03 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.2329, allocations: 20.84 kB / 436 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.2332, allocations: 198.2 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.2332, allocations: 12.12 kB / 436.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.2332, allocations: 12 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006311/0.2339, allocations: 309.9 kB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2339, allocations: 4 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2339, allocations: 4 kB / 436.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2339, allocations: 4 kB / 436.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.2341, allocations: 67.89 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.2346, allocations: 351.1 kB / 436.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.235, allocations: 213 kB / 437.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001971/0.2352, allocations: 108.2 kB / 437.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.2352, allocations: 4 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.2353, allocations: 42.55 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.2353, allocations: 0 / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.000577/0.2359, allocations: 229.2 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.236, allocations: 191.9 kB / 437.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.2362, allocations: 183.2 kB / 437.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2362, allocations: 29.7 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.626e-05/0.2363, allocations: 108.4 kB / 438 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2363, allocations: 11.95 kB / 438 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.2364, allocations: 41.66 kB / 438 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.2365, allocations: 327.1 kB / 438.4 MB, free: 412 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.2366, allocations: 35.97 kB / 438.4 MB, free: 376 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2368, allocations: 161.1 kB / 438.6 MB, free: 152 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.237, allocations: 174.4 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.237, allocations: 4 kB / 438.7 MB, free: 15.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003036/0.2373, allocations: 173.2 kB / 438.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2373, allocations: 4 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2373, allocations: 4 kB / 438.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.2374, allocations: 8.531 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.2375, allocations: 43.92 kB / 439 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.2375, allocations: 7.938 kB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2376, allocations: 19.88 kB / 439 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2376, allocations: 15.94 kB / 439 MB, free: 15.64 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.0001239/0.2378, allocations: 133.8 kB / 439.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.2381, allocations: 141.5 kB / 439.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.2381, allocations: 21.34 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.2381, allocations: 7.984 kB / 439.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2381, allocations: 8.031 kB / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2381, allocations: 0 / 439.3 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.2384, allocations: 153.1 kB / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.2384, allocations: 0 / 439.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/0.2386, allocations: 39.97 kB / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2386, allocations: 0 / 439.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.2386, allocations: 8 kB / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2386, allocations: 0 / 439.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2386, allocations: 11.88 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004379/0.239, allocations: 363.9 kB / 439.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.2391, allocations: 35.78 kB / 439.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.2391, allocations: 12 kB / 439.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.2393, allocations: 11.98 kB / 439.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.2393, allocations: 4 kB / 439.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.2393, allocations: 4 kB / 439.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.2394, allocations: 140.4 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2394, allocations: 0 / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.2398, allocations: 23.94 kB / 440.1 MB, free: 14.48 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.0001009/0.2399, allocations: 107.2 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.2402, allocations: 111.8 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2402, allocations: 1.062 kB / 440.3 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.2402, allocations: 15.92 kB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006487/0.2409, allocations: 111.1 kB / 440.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.2415, allocations: 319.5 kB / 440.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001217/0.2416, allocations: 111.4 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.2417, allocations: 17.58 kB / 440.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.2417, allocations: 19.38 kB / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2417, allocations: 0 / 440.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Templates: time 0.005389/0.2471, allocations: 2.091 MB / 443 MB, free: 11.56 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","/var/lib/jenkins1/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.3326940429979]