Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.0009257/0.0009257, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009828/0.0009828, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9598/0.9598, allocations: 177.1 MB / 205.3 MB, free: 5.098 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.481e-05/1.597e-05, allocations: 2.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002429/0.002445, allocations: 1.962 MB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.003841, allocations: 1.277 MB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003948, allocations: 7.938 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.004202, allocations: 67.61 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.004459, allocations: 139.4 kB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.004835, allocations: 231 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.005002, allocations: 187.4 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.00508, allocations: 26.41 kB / 277.3 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.005196, allocations: 115.6 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.207e-05/0.005288, allocations: 71.78 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005306, allocations: 8 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.005417, allocations: 59.95 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.005479, allocations: 59.77 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.005528, allocations: 39.86 kB / 277.7 MB, free: 12.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.00574, allocations: 199.2 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005742, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.005743, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005746, allocations: 4 kB / 277.9 MB, free: 12.72 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004307/0.006177, allocations: 465 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.006207, allocations: 12.03 kB / 278.3 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.006242, allocations: 20.92 kB / 278.4 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.00643, allocations: 200.8 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.006445, allocations: 4.359 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.006459, allocations: 12.38 kB / 278.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.006657, allocations: 158.7 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006665, allocations: 3.938 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.006674, allocations: 7.938 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006679, allocations: 0 / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.605e-05/0.006715, allocations: 22.75 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002511/0.006966, allocations: 295.8 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.007085, allocations: 155.9 kB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.007119, allocations: 47.39 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.007134, allocations: 7.938 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-05/0.007221, allocations: 83.86 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.51e-07/0.007222, allocations: 0 / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001496/0.007371, allocations: 96.67 kB / 279.4 MB, free: 10.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.007424, allocations: 140.6 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.007597, allocations: 264.6 kB / 279.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.007614, allocations: 33.7 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.107e-05/0.007655, allocations: 104.9 kB / 280 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.007676, allocations: 19.83 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/0.007709, allocations: 33.64 kB / 280 MB, free: 10.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.485e-05/0.007784, allocations: 334.8 kB / 280.3 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.007799, allocations: 10.83 kB / 280.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.382e-05/0.007833, allocations: 69.05 kB / 280.4 MB, free: 9.895 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.694e-05/0.00788, allocations: 44.25 kB / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.007883, allocations: 0 / 280.5 MB, free: 9.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.023e-05/0.007953, allocations: 76.62 kB / 280.5 MB, free: 9.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.007964, allocations: 11.98 kB / 280.5 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.007968, allocations: 4.062 kB / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.007978, allocations: 0 / 280.6 MB, free: 9.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.008033, allocations: 15.94 kB / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.008035, allocations: 0 / 280.6 MB, free: 9.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.008071, allocations: 12.05 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.008077, allocations: 4 kB / 280.6 MB, free: 9.711 MB / 266.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: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.238e-05/0.00814, allocations: 117.3 kB / 280.7 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.00818, allocations: 69.48 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.844e-05/0.008268, allocations: 79.45 kB / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.00827, allocations: 0 / 280.8 MB, free: 9.422 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.008272, allocations: 4 kB / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.008276, allocations: 0 / 280.8 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.278e-05/0.008369, allocations: 125.6 kB / 281 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.008374, allocations: 4.062 kB / 281 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.008409, allocations: 12 kB / 281 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.008412, allocations: 4 kB / 281 MB, free: 9.258 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.008419, allocations: 7.922 kB / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.008419, allocations: 0 / 281 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00842, allocations: 4 kB / 281 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.121e-05/0.008501, allocations: 121.2 kB / 281.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.008546, allocations: 35.84 kB / 281.2 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008566, allocations: 7.938 kB / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.919e-05/0.008595, allocations: 4 kB / 281.2 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.008624, allocations: 11.98 kB / 281.2 MB, free: 9.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.008634, allocations: 4 kB / 281.2 MB, free: 9.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.279e-05/0.008707, allocations: 103.5 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008707, allocations: 0 / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001352/0.008842, allocations: 39.92 kB / 281.3 MB, free: 8.895 MB / 266.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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009542/0.009797, allocations: 0.5197 MB / 281.8 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.805e-05/0.009885, allocations: 56.7 kB / 281.9 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.009888, allocations: 4 kB / 281.9 MB, free: 8.543 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.009919, allocations: 24.78 kB / 281.9 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.0101, allocations: 69.91 kB / 282 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/0.01044, allocations: 352.7 kB / 282.3 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.162e-05/0.01048, allocations: 87.97 kB / 282.4 MB, free: 7.957 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01052, allocations: 21.86 kB / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.278e-05/0.0106, allocations: 83.34 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.0106, allocations: 0 / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of Templates: time 0.00444/0.01504, allocations: 3.283 MB / 285.8 MB, free: 4.629 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.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.7635399638675153]