Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0008348/0.0008348, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00129/0.002124, 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.0008203/0.0008203, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001201/0.002022, 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.959/0.959, allocations: 173.3 MB / 185.8 MB, free: 8.992 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0829/1.042, allocations: 52.51 MB / 238.3 MB, free: 4.422 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 4 kB / 239.5 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.88e-05/2.129e-05, allocations: 2.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.0023/0.002321, allocations: 1.975 MB / 241.5 MB, free: 1.195 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.003609, allocations: 1.164 MB / 242.7 MB, free: 24 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.003696, allocations: 4 kB / 242.7 MB, free: 20 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002101/0.003906, allocations: 67.59 kB / 242.7 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.004129, allocations: 95.47 kB / 242.8 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.004563, allocations: 267 kB / 243.1 MB, free: 15.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.004752, allocations: 179.4 kB / 243.3 MB, free: 15.42 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.004831, allocations: 14.47 kB / 243.3 MB, free: 15.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.00497, allocations: 143.6 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.576e-05/0.005056, allocations: 59.81 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.005076, allocations: 12 kB / 243.5 MB, free: 15.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.005204, allocations: 67.88 kB / 243.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.704e-05/0.005261, allocations: 51.78 kB / 243.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.0053, allocations: 31.88 kB / 243.6 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005497, allocations: 175.3 kB / 243.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.00551, allocations: 4 kB / 243.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.005511, allocations: 3.984 kB / 243.8 MB, free: 14.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.005526, allocations: 0 / 243.8 MB, free: 14.87 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005073/0.006033, allocations: 476.8 kB / 244.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.386e-05/0.006057, allocations: 8.031 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.006096, allocations: 24.91 kB / 244.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.006287, allocations: 208.8 kB / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.006301, allocations: 384 / 244.5 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.006313, allocations: 16.38 kB / 244.5 MB, free: 14.09 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.006489, allocations: 150.8 kB / 244.7 MB, free: 13.92 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.006498, allocations: 3.938 kB / 244.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.006505, allocations: 4 kB / 244.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.00651, allocations: 3.938 kB / 244.7 MB, free: 13.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.006553, allocations: 18.81 kB / 244.7 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002497/0.006803, allocations: 299.7 kB / 245 MB, free: 13.57 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.00692, allocations: 156 kB / 245.2 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.006951, allocations: 35.44 kB / 245.2 MB, free: 13.33 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.006972, allocations: 15.86 kB / 245.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.452e-05/0.007067, allocations: 83.91 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.007068, allocations: 3.938 kB / 245.3 MB, free: 13.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001372/0.007205, allocations: 100.4 kB / 245.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.007255, allocations: 140.5 kB / 245.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.007396, allocations: 258.6 kB / 245.8 MB, free: 12.66 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.007411, allocations: 33.7 kB / 245.8 MB, free: 12.62 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.007448, allocations: 100.9 kB / 245.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.007468, allocations: 19.83 kB / 245.9 MB, free: 12.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.007497, allocations: 29.66 kB / 246 MB, free: 12.46 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.007579, allocations: 334.8 kB / 246.3 MB, free: 12.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.007595, allocations: 15.2 kB / 246.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.286e-05/0.007628, allocations: 65.12 kB / 246.4 MB, free: 12.03 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.698e-05/0.007675, allocations: 56.39 kB / 246.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007677, allocations: 0 / 246.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.083e-05/0.007748, allocations: 80.36 kB / 246.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.007758, allocations: 4 kB / 246.5 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.007762, allocations: 4 kB / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/0.007769, allocations: 0 / 246.5 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.007832, allocations: 20.08 kB / 246.5 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.007835, allocations: 4 kB / 246.5 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.007866, allocations: 0 / 246.5 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007871, allocations: 4 kB / 246.5 MB, free: 11.84 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: 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.151e-05/0.007933, allocations: 120.6 kB / 246.7 MB, free: 11.71 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.007974, allocations: 65.55 kB / 246.7 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.542e-05/0.00806, allocations: 75.44 kB / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.008061, allocations: 0 / 246.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008064, allocations: 4 kB / 246.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008068, allocations: 4.062 kB / 246.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.28e-05/0.00816, allocations: 121.7 kB / 246.9 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.008162, allocations: 0 / 246.9 MB, free: 11.42 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.008203, allocations: 19.98 kB / 246.9 MB, free: 11.4 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.008246, allocations: 39.72 kB / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.008248, allocations: 0 / 247 MB, free: 11.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.008255, allocations: 11.92 kB / 247 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.008256, allocations: 0 / 247 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008257, allocations: 0 / 247 MB, free: 11.35 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.996e-05/0.008337, allocations: 117.3 kB / 247.1 MB, free: 11.21 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.008356, allocations: 11.94 kB / 247.1 MB, free: 11.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.008385, allocations: 8.047 kB / 247.1 MB, free: 11.19 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.008417, allocations: 15.98 kB / 247.1 MB, free: 11.17 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.00843, allocations: 4 kB / 247.2 MB, free: 11.17 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.179e-05/0.008502, allocations: 101.5 kB / 247.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008502, allocations: 0 / 247.3 MB, free: 11.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001349/0.008637, allocations: 31.94 kB / 247.3 MB, free: 11.04 MB / 250.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.001128/0.009765, allocations: 0.5632 MB / 247.8 MB, free: 10.75 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.659e-05/0.009851, allocations: 48.77 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.009857, allocations: 4 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.243e-05/0.00989, allocations: 28.78 kB / 247.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.01008, allocations: 87.42 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/0.01054, allocations: 356.1 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.294e-05/0.01059, allocations: 83.97 kB / 248.4 MB, free: 10.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.153e-05/0.01063, allocations: 17.48 kB / 248.5 MB, free: 10.08 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.01071, allocations: 83.36 kB / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01071, allocations: 0 / 248.5 MB, free: 10 MB / 250.7 MB Notification: Performance of Templates: time 0.004586/0.0153, allocations: 3.302 MB / 251.8 MB, free: 6.75 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6449489779770374]