Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.001376/0.001376, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00147/0.00147, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9037/0.9037, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.379e-05/5.552e-05, allocations: 2.312 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002392/0.002448, allocations: 1.583 MB / 275.8 MB, free: 2.836 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003319/0.00278, allocations: 148.2 kB / 275.9 MB, free: 2.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.798e-05/0.002858, allocations: 4.5 kB / 275.9 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.002966, allocations: 11.86 kB / 275.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.279e-05/0.003058, allocations: 8.625 kB / 275.9 MB, free: 2.668 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.003242, allocations: 43.77 kB / 276 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.003342, allocations: 44.47 kB / 276 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.634e-05/0.003438, allocations: 10.47 kB / 276 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.003479, allocations: 23.91 kB / 276.1 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.179e-05/0.003521, allocations: 15.98 kB / 276.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.003541, allocations: 3.984 kB / 276.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-06/0.00355, allocations: 7.938 kB / 276.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.003594, allocations: 8 kB / 276.1 MB, free: 2.516 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.003619, allocations: 15.92 kB / 276.1 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.38e-05/0.003713, allocations: 37.78 kB / 276.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003715, allocations: 0 / 276.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003715, allocations: 0 / 276.1 MB, free: 2.465 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003719, allocations: 3.938 kB / 276.1 MB, free: 2.461 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.0003766/0.004096, allocations: 412.2 kB / 276.5 MB, free: 2.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.00413, allocations: 8.531 kB / 276.6 MB, free: 2.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.004162, allocations: 17.55 kB / 276.6 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.004315, allocations: 144.4 kB / 276.7 MB, free: 1.828 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.004326, allocations: 4.375 kB / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.864e-06/0.004333, allocations: 384 / 276.7 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.004514, allocations: 125.3 kB / 276.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.004522, allocations: 192 / 276.8 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.142e-06/0.004528, allocations: 4.375 kB / 276.8 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.004553, allocations: 4.375 kB / 276.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.004575, allocations: 19.88 kB / 276.9 MB, free: 1.645 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002627/0.004838, allocations: 383 kB / 277.2 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.867e-05/0.004936, allocations: 89.17 kB / 277.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.285e-05/0.004959, allocations: 27.19 kB / 277.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-06/0.004965, allocations: 0 / 277.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.004988, allocations: 41.33 kB / 277.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.004989, allocations: 0 / 277.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001456/0.005134, allocations: 61.86 kB / 277.5 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.005183, allocations: 110.8 kB / 277.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.005313, allocations: 205.1 kB / 277.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.005322, allocations: 25.7 kB / 277.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.005369, allocations: 138.8 kB / 277.9 MB, free: 444 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.005379, allocations: 3.953 kB / 277.9 MB, free: 440 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.005409, allocations: 31.3 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.005546, allocations: 0.4884 MB / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-06/0.005556, allocations: 0 / 278.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.005576, allocations: 23.36 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.005602, allocations: 23.44 kB / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.005604, allocations: 0 / 278.5 MB, free: 15.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.713e-05/0.005662, allocations: 49.58 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.005674, allocations: 4 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.005679, allocations: 0 / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005691, allocations: 7.922 kB / 278.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.631e-05/0.005747, allocations: 8 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.256e-06/0.00575, allocations: 0 / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.675e-05/0.005767, allocations: 3.984 kB / 278.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.005773, allocations: 12.06 kB / 278.6 MB, free: 15.74 MB / 266.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 0.0001551/0.005928, allocations: 152.6 kB / 278.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.005985, allocations: 45.59 kB / 278.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.00601, allocations: 11.95 kB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.006026, allocations: 7.938 kB / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.006027, allocations: 0 / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.00603, allocations: 0 / 278.8 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.006154, allocations: 109.2 kB / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.006156, allocations: 0 / 278.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-05/0.00618, allocations: 8.031 kB / 278.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006182, allocations: 0 / 278.9 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-06/0.006186, allocations: 4 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.006188, allocations: 4 kB / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.006189, allocations: 0 / 278.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.006318, allocations: 330.6 kB / 279.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.006345, allocations: 11.94 kB / 279.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.006356, allocations: 3.984 kB / 279.2 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.006406, allocations: 11.94 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.006435, allocations: 7.938 kB / 279.3 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.006439, allocations: 4.031 kB / 279.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.623e-05/0.006485, allocations: 139.2 kB / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006485, allocations: 0 / 279.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001591/0.006644, allocations: 4 kB / 279.4 MB, free: 14.83 MB / 266.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.556e-05/0.006729, allocations: 103.2 kB / 279.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.163e-05/0.006811, allocations: 27.59 kB / 279.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.006813, allocations: 0 / 279.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.451e-05/0.006827, allocations: 15.81 kB / 279.6 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.007128, allocations: 28.44 kB / 279.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.007378, allocations: 176.8 kB / 279.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.007422, allocations: 63.2 kB / 279.8 MB, free: 14.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.035e-05/0.007442, allocations: 7.984 kB / 279.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.007491, allocations: 70.2 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.007492, allocations: 4 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Templates: time 0.002611/0.0101, allocations: 0.7385 MB / 280.6 MB, free: 13.55 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.62293882900849]