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.001574/0.001574, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001551/0.001551, allocations: 211.5 kB / 23.73 MB, free: 4.523 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.595/1.595, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001616/0.001616, allocations: 48.06 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2481, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003249/0.2514, allocations: 1.854 MB / 433.4 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2527, allocations: 0.6468 MB / 434.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.2528, allocations: 11.88 kB / 434.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2529, allocations: 23.78 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.253, allocations: 27.73 kB / 434.1 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.2534, allocations: 107.8 kB / 434.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.2536, allocations: 151.4 kB / 434.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.2538, allocations: 45.91 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2539, allocations: 67.7 kB / 434.5 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.035e-05/0.254, allocations: 47.72 kB / 434.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.254, allocations: 8 kB / 434.6 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.254e-05/0.2541, allocations: 19.98 kB / 434.6 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.042e-05/0.2541, allocations: 35.84 kB / 434.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.2542, allocations: 47.73 kB / 434.7 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.2544, allocations: 157.5 kB / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2544, allocations: 0 / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2544, allocations: 0 / 434.8 MB, free: 3.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.2544, allocations: 0 / 434.8 MB, free: 3.473 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.0005996/0.255, allocations: 381.6 kB / 435.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2551, allocations: 12.03 kB / 435.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.2552, allocations: 24.83 kB / 435.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.2555, allocations: 194.3 kB / 435.4 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2556, allocations: 8.125 kB / 435.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.2556, allocations: 15.94 kB / 435.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.2562, allocations: 304.6 kB / 435.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2562, allocations: 4 kB / 435.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2562, allocations: 3.938 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2562, allocations: 4 kB / 435.7 MB, free: 2.453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.2565, allocations: 75.81 kB / 435.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004275/0.2569, allocations: 351.2 kB / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004596/0.2574, allocations: 213.1 kB / 436.4 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.2576, allocations: 100.2 kB / 436.5 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.2576, allocations: 4 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.2576, allocations: 42.5 kB / 436.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.2576, allocations: 0 / 436.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005722/0.2582, allocations: 229.6 kB / 436.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.2583, allocations: 192 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2585, allocations: 187.2 kB / 437.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.2586, allocations: 25.7 kB / 437.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.2586, allocations: 104.5 kB / 437.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.2587, allocations: 15.94 kB / 437.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.2587, allocations: 42.03 kB / 437.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2589, allocations: 330.8 kB / 437.6 MB, free: 392 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.2589, allocations: 27.98 kB / 437.6 MB, free: 364 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.2591, allocations: 161.1 kB / 437.8 MB, free: 140 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.2594, allocations: 174.4 kB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2594, allocations: 0 / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000305/0.2597, allocations: 177.2 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.2597, allocations: 7.984 kB / 438.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.2597, allocations: 4.531 kB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2597, allocations: 12 kB / 438.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.2598, allocations: 39.92 kB / 438.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2599, allocations: 8 kB / 438.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.26, allocations: 15.89 kB / 438.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.26, allocations: 19.86 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.0001261/0.2601, allocations: 133.8 kB / 438.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003037/0.2604, allocations: 145.4 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.2605, allocations: 21.39 kB / 438.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.2605, allocations: 11.97 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2605, allocations: 0 / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2605, allocations: 4 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.2607, allocations: 157.1 kB / 438.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2607, allocations: 0 / 438.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.2609, allocations: 39.91 kB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2609, allocations: 4 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2609, allocations: 4 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2609, allocations: 3.984 kB / 438.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.2609, allocations: 3.984 kB / 438.8 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.2613, allocations: 365 kB / 439.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.827e-05/0.2614, allocations: 43.77 kB / 439.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.09e-05/0.2614, allocations: 11.94 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2616, allocations: 7.984 kB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.2616, allocations: 8 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2616, allocations: 4 kB / 439.2 MB, free: 14.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2617, allocations: 136.4 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2617, allocations: 0 / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003378/0.2621, allocations: 27.94 kB / 439.4 MB, free: 14.45 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.0001056/0.2622, allocations: 103.2 kB / 439.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.2625, allocations: 116.8 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2625, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.966e-05/0.2625, allocations: 16.05 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006149/0.2631, allocations: 102.8 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.2638, allocations: 319.4 kB / 440 MB, free: 13.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2639, allocations: 119.7 kB / 440.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.687e-05/0.2639, allocations: 21.42 kB / 440.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.91e-05/0.264, allocations: 15.44 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.264, allocations: 0 / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Templates: time 0.005279/0.2693, allocations: 2.084 MB / 442.2 MB, free: 11.54 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.997651121113449]