Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002064/0.002064, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002541/0.002541, allocations: 204.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003065/0.003065, allocations: 59.91 kB / 378.2 MB, free: 2.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2986, allocations: 53.41 MB / 431.6 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002893/0.3015, allocations: 1.543 MB / 433.2 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.3019, allocations: 143.5 kB / 433.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.504e-05/0.3019, allocations: 7.938 kB / 433.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.302, allocations: 7.922 kB / 433.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.528e-05/0.3021, allocations: 3.938 kB / 433.3 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.3024, allocations: 47.83 kB / 433.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3025, allocations: 39.86 kB / 433.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.3026, allocations: 11.98 kB / 433.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.3026, allocations: 11.94 kB / 433.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.3027, allocations: 19.86 kB / 433.5 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.3027, allocations: 7.984 kB / 433.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.286e-05/0.3027, allocations: 4 kB / 433.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.3027, allocations: 23.92 kB / 433.5 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.3028, allocations: 15.88 kB / 433.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3029, allocations: 61.92 kB / 433.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3029, allocations: 0 / 433.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3029, allocations: 0 / 433.6 MB, free: 4.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3029, allocations: 0 / 433.6 MB, free: 4.574 MB / 334.1 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.000489/0.3034, allocations: 313.9 kB / 433.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.3034, allocations: 15.97 kB / 433.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3035, allocations: 8.891 kB / 433.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.3037, allocations: 141.1 kB / 434 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.525e-06/0.3037, allocations: 4.375 kB / 434 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3038, allocations: 384 / 434 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.3041, allocations: 130.4 kB / 434.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3041, allocations: 192 / 434.2 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.3041, allocations: 7.922 kB / 434.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.3041, allocations: 4 kB / 434.2 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.3042, allocations: 39.91 kB / 434.2 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.3046, allocations: 309.6 kB / 434.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.3048, allocations: 79.78 kB / 434.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.424e-05/0.3049, allocations: 42.55 kB / 434.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3049, allocations: 11.92 kB / 434.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.3049, allocations: 30.56 kB / 434.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 4.809e-06/0.3049, allocations: 4 kB / 434.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003466/0.3052, allocations: 109.5 kB / 434.8 MB, free: 3.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.652e-05/0.3053, allocations: 110.8 kB / 434.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3055, allocations: 137.8 kB / 435 MB, free: 2.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3055, allocations: 25.7 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.3055, allocations: 92.12 kB / 435.2 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.3056, allocations: 3.953 kB / 435.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.3056, allocations: 22.09 kB / 435.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3058, allocations: 322.8 kB / 435.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.3058, allocations: 19.98 kB / 435.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.154e-05/0.3059, allocations: 39.36 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.306, allocations: 59.34 kB / 435.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.306, allocations: 4 kB / 435.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002073/0.3062, allocations: 89.48 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3062, allocations: 4 kB / 435.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3062, allocations: 4 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3063, allocations: 0 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.3063, allocations: 15.92 kB / 435.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3064, allocations: 4 kB / 435.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.3064, allocations: 8.125 kB / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3064, allocations: 0 / 435.7 MB, free: 2.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[2],sample1.u[1],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001065/0.3065, allocations: 125.8 kB / 435.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3066, allocations: 53.59 kB / 435.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.3066, allocations: 15.91 kB / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3067, allocations: 0 / 435.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3067, allocations: 8 kB / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3067, allocations: 0 / 435.9 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.3069, allocations: 125.3 kB / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3069, allocations: 32 / 436.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-05/0.3069, allocations: 19.88 kB / 436.1 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3069, allocations: 3.938 kB / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.3069, allocations: 0 / 436.1 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3069, allocations: 3.984 kB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3069, allocations: 4 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.3072, allocations: 259.6 kB / 436.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.3073, allocations: 19.89 kB / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.3073, allocations: 0 / 436.4 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3074, allocations: 11.98 kB / 436.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3074, allocations: 4 kB / 436.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.3074, allocations: 3.938 kB / 436.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.254e-05/0.3075, allocations: 110 kB / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3075, allocations: 0 / 436.5 MB, free: 1.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3078, allocations: 12 kB / 436.5 MB, free: 1.32 MB / 334.1 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 0.0001071/0.3079, allocations: 95.25 kB / 436.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3081, allocations: 51.89 kB / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3081, allocations: 0 / 436.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.555e-05/0.3081, allocations: 23.92 kB / 436.7 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.3085, allocations: 23.95 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.3089, allocations: 183.1 kB / 436.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.309, allocations: 87.78 kB / 437 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.648e-05/0.309, allocations: 8 kB / 437 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.3091, allocations: 7.438 kB / 437 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3091, allocations: 0 / 437 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Templates: time 0.003212/0.3123, allocations: 0.7027 MB / 437.7 MB, free: 112 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.662783265113831]