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.001318/0.001318, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.000914/0.000914, allocations: 145 kB / 24.89 MB, free: 9.219 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.9841/0.9841, allocations: 173.4 MB / 201.5 MB, free: 9.211 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.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.403e-06/1.403e-06, allocations: 0 / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.12e-05, allocations: 2.312 kB / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002758/0.002779, allocations: 1.628 MB / 270.1 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003863/0.003165, allocations: 151.4 kB / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.235e-05/0.003238, allocations: 3.938 kB / 270.3 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.764e-05/0.003335, allocations: 3.938 kB / 270.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.851e-05/0.003434, allocations: 15.86 kB / 270.3 MB, free: 4.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.00366, allocations: 39.84 kB / 270.3 MB, free: 4.324 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003769, allocations: 43.84 kB / 270.4 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.003855, allocations: 8 kB / 270.4 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.974e-05/0.003915, allocations: 31.89 kB / 270.4 MB, free: 4.242 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.432e-05/0.003959, allocations: 7.938 kB / 270.4 MB, free: 4.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.003979, allocations: 4 kB / 270.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-06/0.003989, allocations: 4 kB / 270.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.004034, allocations: 11.98 kB / 270.4 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.004058, allocations: 11.94 kB / 270.5 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.004162, allocations: 47.77 kB / 270.5 MB, free: 4.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004165, allocations: 3.938 kB / 270.5 MB, free: 4.152 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004166, allocations: 4 kB / 270.5 MB, free: 4.148 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.004169, allocations: 0 / 270.5 MB, free: 4.148 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003265/0.004496, allocations: 280.6 kB / 270.8 MB, free: 3.848 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.00453, allocations: 8.922 kB / 270.8 MB, free: 3.84 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.00456, allocations: 4.938 kB / 270.8 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.004732, allocations: 145.6 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.004742, allocations: 4.375 kB / 270.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.00475, allocations: 384 / 271 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.00496, allocations: 120.8 kB / 271.1 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.004967, allocations: 4.125 kB / 271.1 MB, free: 3.516 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.004975, allocations: 4.375 kB / 271.1 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.005004, allocations: 4.375 kB / 271.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.996e-05/0.005034, allocations: 18.75 kB / 271.1 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.005294, allocations: 247 kB / 271.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.136e-05/0.005365, allocations: 62.55 kB / 271.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.005387, allocations: 22.7 kB / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.005394, allocations: 0 / 271.4 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.005419, allocations: 42.55 kB / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.00542, allocations: 0 / 271.5 MB, free: 3.051 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001464/0.005567, allocations: 57.5 kB / 271.5 MB, free: 2.988 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.005615, allocations: 102.8 kB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.005706, allocations: 146.6 kB / 271.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.005721, allocations: 25.7 kB / 271.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.005759, allocations: 92.45 kB / 271.9 MB, free: 2.582 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.166e-06/0.005767, allocations: 4 kB / 271.9 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.005799, allocations: 21.66 kB / 271.9 MB, free: 2.551 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.304e-05/0.005882, allocations: 314.8 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.825e-06/0.00589, allocations: 4 kB / 272.2 MB, free: 2.23 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.005908, allocations: 17.7 kB / 272.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/0.005939, allocations: 28.47 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.00594, allocations: 0 / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.882e-05/0.005999, allocations: 41.62 kB / 272.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.006011, allocations: 8.125 kB / 272.3 MB, free: 2.117 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.006017, allocations: 4 kB / 272.3 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.00603, allocations: 3.938 kB / 272.3 MB, free: 2.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.016e-05/0.00608, allocations: 8 kB / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.006082, allocations: 0 / 272.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.437e-05/0.006107, allocations: 7.984 kB / 272.3 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.006112, allocations: 0 / 272.3 MB, free: 2.094 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.192e-05/0.006174, allocations: 112.7 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.006234, allocations: 33.7 kB / 272.5 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.006258, allocations: 15.98 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.006274, allocations: 7.938 kB / 272.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006275, allocations: 3.938 kB / 272.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.006279, allocations: 4 kB / 272.5 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.006448, allocations: 73.88 kB / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.00645, allocations: 0 / 272.6 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.006476, allocations: 4 kB / 272.6 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.006478, allocations: 4 kB / 272.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006484, allocations: 3.984 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006486, allocations: 0 / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.006489, allocations: 4 kB / 272.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.006594, allocations: 226.5 kB / 272.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.006627, allocations: 19.81 kB / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.006637, allocations: 0 / 272.8 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.752e-05/0.006725, allocations: 7.984 kB / 272.8 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.006753, allocations: 7.938 kB / 272.9 MB, free: 1.516 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.006758, allocations: 3.984 kB / 272.9 MB, free: 1.512 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.00679, allocations: 27.77 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00679, allocations: 0 / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000246/0.007036, allocations: 8 kB / 272.9 MB, free: 1.477 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 8.739e-05/0.007124, allocations: 88.38 kB / 273 MB, free: 1.383 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.117e-05/0.007185, allocations: 20.78 kB / 273 MB, free: 1.359 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.00719, allocations: 8 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.459e-05/0.007205, allocations: 4.859 kB / 273 MB, free: 1.344 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.00753, allocations: 23.34 kB / 273 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.007816, allocations: 180.4 kB / 273.2 MB, free: 1.109 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.594e-05/0.007862, allocations: 67.34 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.986e-05/0.007881, allocations: 3.906 kB / 273.3 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.007935, allocations: 55.38 kB / 273.3 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007936, allocations: 0 / 273.3 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of Templates: time 0.002912/0.01085, allocations: 0.6718 MB / 274 MB, free: 328 kB / 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 -s gbode -gbm=radauIIA3 -emit_protected -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.421879678964615]