Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.0007158/0.0007158, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009749/0.001691, 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.0006309/0.0006309, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000889/0.00152, 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.9499/0.9499, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1221/1.072, allocations: 52.5 MB / 238.3 MB, free: 4.438 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.979e-05, allocations: 2.875 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001979/0.001999, allocations: 1.614 MB / 241.2 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000235/0.002234, allocations: 160.9 kB / 241.3 MB, free: 1.414 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.002292, allocations: 3.938 kB / 241.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.002343, allocations: 11.88 kB / 241.3 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 4.942e-05/0.002393, allocations: 7.938 kB / 241.3 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.00253, allocations: 39.89 kB / 241.4 MB, free: 1.352 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.707e-05/0.002617, allocations: 39.8 kB / 241.4 MB, free: 1.312 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.002694, allocations: 15.94 kB / 241.4 MB, free: 1.297 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.143e-05/0.002745, allocations: 27.97 kB / 241.5 MB, free: 1.27 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.576e-05/0.002791, allocations: 11.92 kB / 241.5 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.002812, allocations: 4 kB / 241.5 MB, free: 1.254 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-06/0.002821, allocations: 4 kB / 241.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.002857, allocations: 15.94 kB / 241.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.002883, allocations: 11.94 kB / 241.5 MB, free: 1.223 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/0.002969, allocations: 43.7 kB / 241.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495e-05/0.002984, allocations: 8 kB / 241.6 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002985, allocations: 0 / 241.6 MB, free: 1.172 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.003, allocations: 0 / 241.6 MB, free: 1.172 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003508/0.003351, allocations: 284.3 kB / 241.8 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/0.003379, allocations: 11.98 kB / 241.8 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.003409, allocations: 8.922 kB / 241.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.003552, allocations: 137.6 kB / 242 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.003561, allocations: 8.375 kB / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.433e-06/0.003568, allocations: 384 / 242 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.003743, allocations: 128.7 kB / 242.1 MB, free: 0.5273 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00375, allocations: 4.125 kB / 242.1 MB, free: 0.5234 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.003757, allocations: 4.375 kB / 242.1 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.003785, allocations: 384 / 242.1 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.027e-05/0.003806, allocations: 14.77 kB / 242.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.004004, allocations: 258.9 kB / 242.4 MB, free: 232 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.004059, allocations: 66.59 kB / 242.5 MB, free: 136 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.803e-05/0.004077, allocations: 18.7 kB / 242.5 MB, free: 108 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.004083, allocations: 0 / 242.5 MB, free: 108 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.004102, allocations: 34.56 kB / 242.5 MB, free: 64 kB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.004103, allocations: 0 / 242.5 MB, free: 64 kB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001267/0.004229, allocations: 61.55 kB / 242.6 MB, free: 15.99 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.004274, allocations: 102.8 kB / 242.7 MB, free: 15.87 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.004345, allocations: 145.2 kB / 242.8 MB, free: 15.72 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.004354, allocations: 26.08 kB / 242.8 MB, free: 15.69 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.00439, allocations: 100 kB / 242.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.004401, allocations: 3.984 kB / 242.9 MB, free: 15.58 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.004432, allocations: 21.7 kB / 243 MB, free: 15.55 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.004502, allocations: 318.8 kB / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.933e-06/0.004509, allocations: 0 / 243.3 MB, free: 15.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.332e-05/0.004522, allocations: 13.72 kB / 243.3 MB, free: 15.21 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.614e-05/0.004548, allocations: 24.47 kB / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00455, allocations: 0 / 243.3 MB, free: 15.18 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.119e-05/0.004591, allocations: 41.7 kB / 243.4 MB, free: 15.14 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.004603, allocations: 8 kB / 243.4 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.004608, allocations: 3.984 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.004616, allocations: 3.938 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.596e-05/0.004672, allocations: 4 kB / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.004675, allocations: 0 / 243.4 MB, free: 15.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.752e-05/0.004692, allocations: 7.953 kB / 243.4 MB, free: 15.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-06/0.004696, allocations: 0 / 243.4 MB, free: 15.11 MB / 250.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: 2 (sample1.u[2],sample1.u[1]) * 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.797e-05/0.004764, allocations: 120.6 kB / 243.5 MB, free: 14.98 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.004807, allocations: 41.75 kB / 243.5 MB, free: 14.93 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.382e-05/0.004831, allocations: 15.92 kB / 243.6 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.004849, allocations: 7.922 kB / 243.6 MB, free: 14.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.004851, allocations: 7.938 kB / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.004853, allocations: 0 / 243.6 MB, free: 14.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.004958, allocations: 77.88 kB / 243.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.004961, allocations: 0 / 243.6 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.814e-05/0.004979, allocations: 8 kB / 243.7 MB, free: 14.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.005001, allocations: 15.92 kB / 243.7 MB, free: 14.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.005003, allocations: 4 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-06/0.005006, allocations: 4.031 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005007, allocations: 0 / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.00501, allocations: 3.938 kB / 243.7 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.661e-05/0.005096, allocations: 222.5 kB / 243.9 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.005106, allocations: 4 kB / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.569e-05/0.005151, allocations: 0 / 243.9 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.005176, allocations: 11.92 kB / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.005179, allocations: 0 / 243.9 MB, free: 14.51 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.015e-05/0.005199, allocations: 28.83 kB / 243.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005199, allocations: 3.938 kB / 243.9 MB, free: 14.48 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001332/0.005333, allocations: 8.031 kB / 244 MB, free: 14.47 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[1],sample1.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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.195e-05/0.005404, allocations: 84.42 kB / 244 MB, free: 14.38 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.652e-05/0.005461, allocations: 20.78 kB / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.005464, allocations: 0 / 244.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.005475, allocations: 8.859 kB / 244.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.005694, allocations: 29.47 kB / 244.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.006048, allocations: 188.3 kB / 244.3 MB, free: 14.1 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.824e-05/0.006086, allocations: 63.34 kB / 244.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.641e-05/0.006103, allocations: 3.906 kB / 244.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.47e-05/0.006147, allocations: 59.36 kB / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of SimCode: time 7.52e-07/0.006148, allocations: 0 / 244.4 MB, free: 13.96 MB / 250.7 MB Notification: Performance of Templates: time 0.002047/0.008195, allocations: 0.6781 MB / 245.1 MB, free: 13.29 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.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.42448521964252]