Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.0007809/0.0007809, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 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.003557/0.003557, allocations: 150.2 kB / 24.68 MB, free: 9.422 MB / 18.57 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.8223/0.8223, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.289e-05/2.427e-05, allocations: 2.281 kB / 319.7 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001963/0.001987, allocations: 1.594 MB / 321.3 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005893/0.002577, allocations: 486.6 kB / 321.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.002649, allocations: 0 / 321.8 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.347e-05/0.002693, allocations: 11.86 kB / 321.8 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.002824, allocations: 19.8 kB / 321.8 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.003028, allocations: 47.77 kB / 321.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001/0.003128, allocations: 59.78 kB / 321.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.003215, allocations: 19.97 kB / 321.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.223e-05/0.003277, allocations: 35.89 kB / 322 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/0.003323, allocations: 19.92 kB / 322 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.003346, allocations: 4 kB / 322 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.003355, allocations: 4 kB / 322 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.238e-05/0.003397, allocations: 15.92 kB / 322 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.00343, allocations: 15.92 kB / 322 MB, free: 3.492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003543, allocations: 63.73 kB / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.003545, allocations: 0 / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.003546, allocations: 0 / 322.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003549, allocations: 4 kB / 322.1 MB, free: 3.426 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003654/0.003915, allocations: 317.8 kB / 322.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.003948, allocations: 8.922 kB / 322.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.00398, allocations: 12.88 kB / 322.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.004153, allocations: 145.2 kB / 322.6 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.004164, allocations: 8.375 kB / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.004174, allocations: 384 / 322.6 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.004413, allocations: 135.2 kB / 322.7 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.004422, allocations: 3.938 kB / 322.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.00443, allocations: 0 / 322.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004434, allocations: 0 / 322.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.004487, allocations: 35.91 kB / 322.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.004732, allocations: 227.2 kB / 323 MB, free: 2.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.351e-05/0.004815, allocations: 86.36 kB / 323 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.004862, allocations: 55.48 kB / 323.1 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.00488, allocations: 3.938 kB / 323.1 MB, free: 2.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.0049, allocations: 34.56 kB / 323.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.004901, allocations: 0 / 323.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002007/0.005102, allocations: 109.9 kB / 323.2 MB, free: 2.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.00516, allocations: 136.5 kB / 323.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.005248, allocations: 145.8 kB / 323.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.005258, allocations: 25.7 kB / 323.5 MB, free: 1.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.005296, allocations: 88.08 kB / 323.6 MB, free: 1.652 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.362e-05/0.005309, allocations: 11.89 kB / 323.6 MB, free: 1.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/0.005334, allocations: 21.7 kB / 323.7 MB, free: 1.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.00541, allocations: 318.8 kB / 324 MB, free: 1.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.005432, allocations: 7.984 kB / 324 MB, free: 1.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.37e-05/0.005456, allocations: 21.66 kB / 324 MB, free: 1.258 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.557e-05/0.005501, allocations: 33.77 kB / 324 MB, free: 1.219 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005503, allocations: 0 / 324 MB, free: 1.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.603e-05/0.005569, allocations: 61.56 kB / 324.1 MB, free: 1.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.00558, allocations: 8 kB / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.005585, allocations: 0 / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.005595, allocations: 0 / 324.1 MB, free: 1.145 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.005643, allocations: 4 kB / 324.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005646, allocations: 0 / 324.1 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.897e-05/0.005665, allocations: 12.05 kB / 324.1 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.005675, allocations: 7.984 kB / 324.1 MB, free: 1.121 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.253e-05/0.005737, allocations: 121.8 kB / 324.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.005787, allocations: 57.58 kB / 324.3 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/0.005818, allocations: 15.92 kB / 324.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00582, allocations: 0 / 324.3 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.005826, allocations: 4 kB / 324.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.005829, allocations: 0 / 324.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.005937, allocations: 125.2 kB / 324.4 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.005938, allocations: 4.062 kB / 324.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.005977, allocations: 15.98 kB / 324.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.00598, allocations: 0 / 324.5 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.005989, allocations: 8 kB / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00599, allocations: 0 / 324.5 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.005992, allocations: 3.938 kB / 324.5 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.006128, allocations: 194 kB / 324.7 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.00616, allocations: 23.83 kB / 324.7 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.006175, allocations: 8 kB / 324.7 MB, free: 488 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.514e-05/0.00621, allocations: 4 kB / 324.7 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.006251, allocations: 7.984 kB / 324.7 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006255, allocations: 0 / 324.7 MB, free: 476 kB / 282.7 MB Notification: Performance of sorting global known variables: time 5.547e-05/0.00631, allocations: 114.4 kB / 324.8 MB, free: 364 kB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00631, allocations: 3.938 kB / 324.8 MB, free: 360 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.006457, allocations: 8 kB / 324.8 MB, free: 352 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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 8.297e-05/0.00654, allocations: 99.19 kB / 324.9 MB, free: 244 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000106/0.006646, allocations: 31.92 kB / 325 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006647, allocations: 4.125 kB / 325 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.564e-05/0.006673, allocations: 19.92 kB / 325 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.006949, allocations: 27.95 kB / 325 MB, free: 160 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000329/0.007278, allocations: 227.9 kB / 325.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.601e-05/0.007334, allocations: 83.59 kB / 325.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.007357, allocations: 8.812 kB / 325.3 MB, free: 15.78 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007357, allocations: 8 kB / 325.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of Templates: time 0.001531/0.008888, allocations: 0.8991 MB / 326.2 MB, free: 14.88 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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: 3.921570796519518]