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.001782/0.001782, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002119/0.002119, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.684/1.684, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.001734/0.001734, allocations: 51.92 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1702, allocations: 53.33 MB / 426.8 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.004353/0.1745, allocations: 1.874 MB / 428.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1764, allocations: 0.7052 MB / 429.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1765, allocations: 7.938 kB / 429.4 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001922/0.1767, allocations: 19.8 kB / 429.4 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1769, allocations: 35.66 kB / 429.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.1774, allocations: 106.6 kB / 429.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002526/0.1777, allocations: 139.5 kB / 429.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.1779, allocations: 49.7 kB / 429.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1781, allocations: 67.7 kB / 429.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1782, allocations: 47.72 kB / 429.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.1782, allocations: 12 kB / 429.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.1783, allocations: 16 kB / 429.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.229e-05/0.1784, allocations: 35.84 kB / 429.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.1785, allocations: 63.59 kB / 430 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1788, allocations: 151.2 kB / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1788, allocations: 0 / 430.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1788, allocations: 3.938 kB / 430.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1788, allocations: 4 kB / 430.1 MB, free: 0.9414 MB / 350.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.0008239/0.1797, allocations: 454.8 kB / 430.6 MB, free: 460 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.1797, allocations: 12.03 kB / 430.6 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.1799, allocations: 28.83 kB / 430.6 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.1803, allocations: 248.1 kB / 430.9 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.1803, allocations: 16.12 kB / 430.9 MB, free: 116 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1803, allocations: 12 kB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2815/0.4618, allocations: 272.9 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.4618, allocations: 3.062 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.4618, allocations: 3.25 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4619, allocations: 3.219 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003452/0.4622, allocations: 75.48 kB / 431.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006476/0.4628, allocations: 431.9 kB / 431.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005986/0.4634, allocations: 283.7 kB / 431.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.4637, allocations: 103.5 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.033e-05/0.4638, allocations: 5.375 kB / 432 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.4638, allocations: 42.05 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 2.225e-06/0.4638, allocations: 0.5938 kB / 432.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.0008706/0.4647, allocations: 225.4 kB / 432.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.4648, allocations: 192.7 kB / 432.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.465, allocations: 186.7 kB / 432.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.465, allocations: 30.73 kB / 432.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.4651, allocations: 102.1 kB / 432.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.4651, allocations: 25.36 kB / 432.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.4652, allocations: 31.42 kB / 432.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4653, allocations: 326.9 kB / 433.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4654, allocations: 27.66 kB / 433.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.4656, allocations: 134 kB / 433.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.4659, allocations: 174.2 kB / 433.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4659, allocations: 0.9375 kB / 433.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004522/0.4663, allocations: 175.4 kB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4663, allocations: 11.19 kB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4664, allocations: 8 kB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-05/0.4664, allocations: 6.5 kB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.4666, allocations: 38.3 kB / 433.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4666, allocations: 8.688 kB / 433.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4668, allocations: 27.75 kB / 433.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.4668, allocations: 7.625 kB / 433.8 MB, free: 9.504 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.000126/0.4669, allocations: 133.3 kB / 433.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.4674, allocations: 139.1 kB / 434.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.4674, allocations: 24.11 kB / 434.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4674, allocations: 7.859 kB / 434.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4674, allocations: 5.469 kB / 434.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.996e-06/0.4675, allocations: 4.938 kB / 434.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.4679, allocations: 226.3 kB / 434.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4679, allocations: 6 kB / 434.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.4681, allocations: 34.55 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4681, allocations: 1.156 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.4681, allocations: 7.062 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.4682, allocations: 2.75 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4682, allocations: 1.031 kB / 434.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005853/0.4687, allocations: 381.3 kB / 434.7 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.4689, allocations: 110.2 kB / 434.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.4689, allocations: 5.828 kB / 434.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.4692, allocations: 13.19 kB / 434.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.4692, allocations: 10.42 kB / 434.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4692, allocations: 7.656 kB / 434.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4694, allocations: 129 kB / 435 MB, free: 8.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4694, allocations: 0 / 435 MB, free: 8.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006331/0.47, allocations: 24.44 kB / 435 MB, free: 8.695 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.0001229/0.4701, allocations: 111.4 kB / 435.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004437/0.4706, allocations: 116.4 kB / 435.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4706, allocations: 1.062 kB / 435.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.4706, allocations: 17.8 kB / 435.3 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.4717, allocations: 103.2 kB / 435.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008215/0.4725, allocations: 323 kB / 435.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.4727, allocations: 0.7263 MB / 436.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.4728, allocations: 15.77 kB / 436.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.4729, allocations: 22.73 kB / 436.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4729, allocations: 0 / 436.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of Templates: time 0.007686/0.4805, allocations: 1.768 MB / 438.2 MB, free: 7.555 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: 5.394258268177509]