Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001401/0.001401, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001418/0.001418, allocations: 187.8 kB / 23.71 MB, free: 4.188 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.514/1.514, allocations: 225.7 MB / 252.5 MB, free: 12.85 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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002819/0.002819, allocations: 51.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2987, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003362/0.3021, allocations: 1.837 MB / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.3032, allocations: 0.5846 MB / 425.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.3033, allocations: 11.88 kB / 425.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.3035, allocations: 15.8 kB / 425.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.3036, allocations: 31.78 kB / 425.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004265/0.304, allocations: 103.7 kB / 425.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.3042, allocations: 139.6 kB / 425.8 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3044, allocations: 37.91 kB / 425.8 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.3045, allocations: 63.7 kB / 425.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.3046, allocations: 43.72 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.3046, allocations: 12 kB / 425.9 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.345e-05/0.3046, allocations: 8 kB / 426 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.225e-05/0.3047, allocations: 31.86 kB / 426 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.974e-05/0.3048, allocations: 47.72 kB / 426 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.305, allocations: 153.5 kB / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.305, allocations: 0 / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.305, allocations: 0 / 426.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.305, allocations: 0 / 426.2 MB, free: 11.34 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.0006856/0.3057, allocations: 377.6 kB / 426.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3057, allocations: 12.03 kB / 426.6 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.854e-05/0.3058, allocations: 20.8 kB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/0.3061, allocations: 188.1 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3061, allocations: 8.125 kB / 426.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.3062, allocations: 8 kB / 426.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.3068, allocations: 303.8 kB / 427.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3068, allocations: 4 kB / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3068, allocations: 4 kB / 427.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3068, allocations: 7.938 kB / 427.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.307, allocations: 71.89 kB / 427.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.3075, allocations: 351.1 kB / 427.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005862/0.3081, allocations: 216.9 kB / 427.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.3084, allocations: 104.3 kB / 427.8 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3084, allocations: 7.984 kB / 427.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3084, allocations: 42.5 kB / 427.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.3084, allocations: 0 / 427.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005685/0.309, allocations: 225.3 kB / 428.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.3092, allocations: 203.8 kB / 428.3 MB, free: 8.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3094, allocations: 175.2 kB / 428.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.3094, allocations: 29.7 kB / 428.5 MB, free: 8.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3095, allocations: 100.1 kB / 428.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3095, allocations: 11.95 kB / 428.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.3096, allocations: 37.7 kB / 428.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3098, allocations: 322.8 kB / 429 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.3098, allocations: 20.27 kB / 429 MB, free: 8.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.31, allocations: 162.9 kB / 429.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3103, allocations: 161.5 kB / 429.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3103, allocations: 0 / 429.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003165/0.3106, allocations: 165.2 kB / 429.4 MB, free: 7.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.3106, allocations: 8 kB / 429.5 MB, free: 7.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3106, allocations: 4 kB / 429.5 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.3107, allocations: 7.938 kB / 429.5 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3108, allocations: 35.92 kB / 429.5 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.3108, allocations: 8.484 kB / 429.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3109, allocations: 23.83 kB / 429.5 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.3109, allocations: 8 kB / 429.5 MB, free: 7.574 MB / 334.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.0001587/0.3111, allocations: 133.8 kB / 429.7 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/0.3114, allocations: 141.8 kB / 429.8 MB, free: 7.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.3115, allocations: 29.34 kB / 429.8 MB, free: 7.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3115, allocations: 3.984 kB / 429.8 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3115, allocations: 4 kB / 429.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3115, allocations: 0 / 429.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.3117, allocations: 149.2 kB / 430 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3117, allocations: 4 kB / 430 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.3118, allocations: 31.98 kB / 430 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3119, allocations: 7.938 kB / 430 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3119, allocations: 7.984 kB / 430 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3119, allocations: 3.938 kB / 430 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3119, allocations: 0 / 430 MB, free: 7.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.3124, allocations: 353.2 kB / 430.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.3124, allocations: 47.69 kB / 430.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3125, allocations: 4 kB / 430.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3126, allocations: 15.92 kB / 430.5 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.3126, allocations: 4 kB / 430.5 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3126, allocations: 4 kB / 430.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.3128, allocations: 141.1 kB / 430.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3128, allocations: 0 / 430.6 MB, free: 6.438 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000314/0.3131, allocations: 20 kB / 430.6 MB, free: 6.418 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: 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.0001211/0.3132, allocations: 99.25 kB / 430.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3135, allocations: 111.8 kB / 430.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3135, allocations: 4 kB / 430.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.3135, allocations: 9 kB / 430.8 MB, free: 6.191 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.3142, allocations: 108.2 kB / 430.9 MB, free: 6.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.3155, allocations: 454.5 kB / 431.4 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001305/0.3156, allocations: 110.7 kB / 431.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.109e-05/0.3157, allocations: 21.84 kB / 431.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3157, allocations: 15.44 kB / 431.5 MB, free: 5.438 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3157, allocations: 4 kB / 431.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Templates: time 0.005215/0.3209, allocations: 1.959 MB / 433.5 MB, free: 3.512 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.633123379200697]