Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.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.00107/0.00107, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002497, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009074/0.0009074, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001302/0.002209, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9721/0.9721, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09601/1.068, allocations: 52.49 MB / 238.3 MB, free: 4.445 MB / 234.7 MB " [Timeout remaining time 179] 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.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|hold1.y|//shiftSample1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.406e-05, allocations: 2.875 kB / 239.6 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.003466/0.00349, allocations: 1.935 MB / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.004656, allocations: 0.6269 MB / 242.1 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.004785, allocations: 7.938 kB / 242.1 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.004891, allocations: 19.8 kB / 242.1 MB, free: 0.5781 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.004994, allocations: 27.73 kB / 242.2 MB, free: 0.5508 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.005313, allocations: 99.69 kB / 242.3 MB, free: 464 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.005515, allocations: 147.5 kB / 242.4 MB, free: 316 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.005651, allocations: 38.62 kB / 242.4 MB, free: 276 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.005836, allocations: 99.67 kB / 242.5 MB, free: 176 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.005923, allocations: 39.81 kB / 242.6 MB, free: 136 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.005958, allocations: 8 kB / 242.6 MB, free: 128 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.021e-05/0.005978, allocations: 12 kB / 242.6 MB, free: 116 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.006027, allocations: 23.94 kB / 242.6 MB, free: 92 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.006072, allocations: 27.88 kB / 242.7 MB, free: 64 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.006251, allocations: 75.69 kB / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.49e-05/0.006266, allocations: 7.938 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006267, allocations: 0 / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.006284, allocations: 7.938 kB / 242.7 MB, free: 15.97 MB / 250.7 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.0005528/0.006836, allocations: 372 kB / 243.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.006875, allocations: 12.03 kB / 243.1 MB, free: 15.57 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.006922, allocations: 12.92 kB / 243.1 MB, free: 15.56 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.00719, allocations: 182.5 kB / 243.3 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.007214, allocations: 8.562 kB / 243.3 MB, free: 15.35 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.007234, allocations: 16.31 kB / 243.3 MB, free: 15.33 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003716/0.007606, allocations: 250.5 kB / 243.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.007616, allocations: 4 kB / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.007627, allocations: 0 / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.007637, allocations: 4 kB / 243.6 MB, free: 15.04 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.742e-05/0.007694, allocations: 35.86 kB / 243.6 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003028/0.007997, allocations: 266.9 kB / 243.9 MB, free: 14.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.008216, allocations: 152.7 kB / 244 MB, free: 14.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.008289, allocations: 80.23 kB / 244.1 MB, free: 14.43 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.008312, allocations: 4 kB / 244.1 MB, free: 14.42 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.008339, allocations: 38.5 kB / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.00834, allocations: 0 / 244.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002194/0.008559, allocations: 113.5 kB / 244.3 MB, free: 14.26 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.008636, allocations: 170.2 kB / 244.4 MB, free: 14.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.008747, allocations: 171.3 kB / 244.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.008766, allocations: 33.7 kB / 244.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.208e-05/0.008808, allocations: 96.44 kB / 244.7 MB, free: 13.74 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.008826, allocations: 11.94 kB / 244.7 MB, free: 13.73 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.008861, allocations: 21.7 kB / 244.8 MB, free: 13.7 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.008944, allocations: 318.8 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.867e-06/0.008953, allocations: 4.375 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.395e-05/0.008987, allocations: 53.14 kB / 245.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.009026, allocations: 34.48 kB / 245.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.009028, allocations: 3.938 kB / 245.2 MB, free: 13.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.341e-05/0.009091, allocations: 53.56 kB / 245.2 MB, free: 13.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.009104, allocations: 8 kB / 245.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.009108, allocations: 0 / 245.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.009117, allocations: 0 / 245.2 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.009182, allocations: 20.11 kB / 245.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.009185, allocations: 0 / 245.2 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.658e-05/0.009222, allocations: 7.938 kB / 245.2 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.009227, allocations: 0 / 245.2 MB, free: 13.16 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 6.996e-05/0.009297, allocations: 120.7 kB / 245.4 MB, free: 13.04 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.009405, allocations: 85.53 kB / 245.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.178e-05/0.009447, allocations: 21.47 kB / 245.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.009451, allocations: 4 kB / 245.5 MB, free: 12.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.009453, allocations: 3.938 kB / 245.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.009459, allocations: 7.984 kB / 245.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.009642, allocations: 105.8 kB / 245.6 MB, free: 12.79 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.009644, allocations: 4 kB / 245.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.81e-05/0.009742, allocations: 31.98 kB / 245.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.125e-05/0.009793, allocations: 35.72 kB / 245.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.009798, allocations: 4 kB / 245.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.009805, allocations: 4 kB / 245.7 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.009809, allocations: 4 kB / 245.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.009811, allocations: 3.938 kB / 245.7 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.009933, allocations: 233.3 kB / 245.9 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.009956, allocations: 11.97 kB / 245.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.01006, allocations: 12 kB / 245.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.01008, allocations: 0 / 245.9 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.01009, allocations: 7.984 kB / 245.9 MB, free: 12.41 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.577e-05/0.01013, allocations: 46.78 kB / 246 MB, free: 12.37 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01014, allocations: 0 / 246 MB, free: 12.37 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002211/0.01036, allocations: 16 kB / 246 MB, free: 12.35 MB / 250.7 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 7.769e-05/0.01043, allocations: 84.36 kB / 246.1 MB, free: 12.26 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.01054, allocations: 49.09 kB / 246.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.01054, allocations: 0 / 246.1 MB, free: 12.21 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.367e-05/0.01055, allocations: 8.859 kB / 246.1 MB, free: 12.2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.01093, allocations: 92.22 kB / 246.2 MB, free: 12.11 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007675/0.0117, allocations: 319.8 kB / 246.5 MB, free: 11.76 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.01175, allocations: 76.23 kB / 246.6 MB, free: 11.66 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.01179, allocations: 17.14 kB / 246.6 MB, free: 11.65 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.01188, allocations: 83.28 kB / 246.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01188, allocations: 0 / 246.7 MB, free: 11.57 MB / 250.7 MB Notification: Performance of Templates: time 0.003379/0.01526, allocations: 2.006 MB / 248.7 MB, free: 9.605 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects2/HoldWithDAeffects2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.489019892178476]