Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.00162/0.00162, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.003597/0.003597, allocations: 209.4 kB / 23.74 MB, free: 4.66 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.566/1.566, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 51.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3309, allocations: 53.37 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.004064/0.335, allocations: 1.89 MB / 433.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3366, allocations: 0.7168 MB / 434.2 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.3368, allocations: 7.938 kB / 434.3 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.3369, allocations: 19.73 kB / 434.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.3371, allocations: 23.8 kB / 434.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005151/0.3376, allocations: 119.2 kB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.3379, allocations: 143.6 kB / 434.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.3381, allocations: 45.89 kB / 434.6 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.3382, allocations: 67.7 kB / 434.7 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.3384, allocations: 55.66 kB / 434.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.3384, allocations: 12 kB / 434.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.064e-05/0.3384, allocations: 16 kB / 434.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.3385, allocations: 23.92 kB / 434.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.3386, allocations: 67.55 kB / 434.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3389, allocations: 152.5 kB / 435 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3389, allocations: 0 / 435 MB, free: 3.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3389, allocations: 0 / 435 MB, free: 3.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.3389, allocations: 0 / 435 MB, free: 3.562 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.0007443/0.3397, allocations: 389.6 kB / 435.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3397, allocations: 12.03 kB / 435.4 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.3399, allocations: 24.83 kB / 435.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004129/0.3403, allocations: 190.2 kB / 435.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.3403, allocations: 8.125 kB / 435.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.3403, allocations: 20 kB / 435.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000616/0.341, allocations: 276.4 kB / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.341, allocations: 0 / 435.9 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.341, allocations: 4 kB / 435.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.341, allocations: 4 kB / 435.9 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.3412, allocations: 75.88 kB / 436 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000549/0.3418, allocations: 394.5 kB / 436.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004575/0.3422, allocations: 216.9 kB / 436.6 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3424, allocations: 100.3 kB / 436.7 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3425, allocations: 8 kB / 436.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.3425, allocations: 38.5 kB / 436.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.316e-06/0.3425, allocations: 3.984 kB / 436.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005857/0.3431, allocations: 217.6 kB / 436.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.3432, allocations: 195.9 kB / 437.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3434, allocations: 179.2 kB / 437.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3435, allocations: 33.7 kB / 437.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.383e-05/0.3436, allocations: 108 kB / 437.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.3436, allocations: 11.98 kB / 437.4 MB, free: 0.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.3437, allocations: 37.77 kB / 437.5 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3438, allocations: 322.8 kB / 437.8 MB, free: 476 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.3439, allocations: 19.98 kB / 437.8 MB, free: 456 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.3441, allocations: 138.4 kB / 437.9 MB, free: 264 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.3443, allocations: 165.6 kB / 438.1 MB, free: 48 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3443, allocations: 0 / 438.1 MB, free: 48 kB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003001/0.3446, allocations: 165.4 kB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3446, allocations: 7.938 kB / 438.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.3446, allocations: 4 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3446, allocations: 7.938 kB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3448, allocations: 39.8 kB / 438.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3448, allocations: 8.312 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.3449, allocations: 8.438 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3449, allocations: 16 kB / 438.4 MB, free: 15.79 MB / 350.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.0001279/0.345, allocations: 137.7 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/0.3453, allocations: 149.3 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.3454, allocations: 21.39 kB / 438.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3454, allocations: 4 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.3454, allocations: 4 kB / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3454, allocations: 0 / 438.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.3457, allocations: 188.6 kB / 438.8 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3457, allocations: 3.984 kB / 438.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3458, allocations: 39.92 kB / 438.9 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.3458, allocations: 7.938 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3458, allocations: 0 / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3458, allocations: 4 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3458, allocations: 3.984 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3463, allocations: 357.2 kB / 439.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.3463, allocations: 31.88 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.3464, allocations: 11.94 kB / 439.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3465, allocations: 11.98 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.3466, allocations: 8 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.3466, allocations: 4 kB / 439.3 MB, free: 14.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3467, allocations: 136.4 kB / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 0 / 439.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003301/0.347, allocations: 20 kB / 439.5 MB, free: 14.58 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: 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.0001253/0.3472, allocations: 103.2 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000317/0.3475, allocations: 122.6 kB / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3475, allocations: 0 / 439.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.062e-05/0.3475, allocations: 4 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.3482, allocations: 117.4 kB / 439.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.3491, allocations: 363.2 kB / 440.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.3495, allocations: 0.7281 MB / 440.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.3496, allocations: 17.84 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.3496, allocations: 15.44 kB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3496, allocations: 3.938 kB / 440.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Templates: time 0.005378/0.355, allocations: 1.781 MB / 442.7 MB, free: 11.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 5.0843065730296075]