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.001592/0.001592, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001673/0.001673, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.069/1.069, allocations: 173.4 MB / 201.1 MB, free: 9.355 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.413e-06/1.413e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.295e-05/3.437e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002413/0.002447, allocations: 1.568 MB / 269.6 MB, free: 4.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003631/0.00281, allocations: 163.4 kB / 269.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.002884, allocations: 0 / 269.7 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.003, allocations: 11.86 kB / 269.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.003103, allocations: 4 kB / 269.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.003333, allocations: 51.75 kB / 269.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003449, allocations: 39.8 kB / 269.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.003571, allocations: 11.98 kB / 269.8 MB, free: 4.605 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.003626, allocations: 27.91 kB / 269.9 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.003677, allocations: 7.984 kB / 269.9 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.003704, allocations: 4 kB / 269.9 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003716, allocations: 8 kB / 269.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.00378, allocations: 11.94 kB / 269.9 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.003817, allocations: 15.92 kB / 269.9 MB, free: 4.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.003942, allocations: 39.84 kB / 269.9 MB, free: 4.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.003947, allocations: 3.984 kB / 269.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.003949, allocations: 0 / 269.9 MB, free: 4.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.003954, allocations: 0 / 269.9 MB, free: 4.488 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.0004335/0.004387, allocations: 404.3 kB / 270.3 MB, free: 4.055 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.004432, allocations: 12.86 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.004472, allocations: 12.84 kB / 270.4 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.004643, allocations: 148.4 kB / 270.5 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.004653, allocations: 384 / 270.5 MB, free: 3.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.004663, allocations: 4.375 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.00489, allocations: 125.3 kB / 270.6 MB, free: 3.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004897, allocations: 4.188 kB / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004907, allocations: 384 / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.004938, allocations: 384 / 270.6 MB, free: 3.699 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.583e-05/0.004974, allocations: 27.86 kB / 270.7 MB, free: 3.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.005292, allocations: 410.3 kB / 271.1 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.708e-05/0.00538, allocations: 89.3 kB / 271.2 MB, free: 3.102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.005408, allocations: 23.06 kB / 271.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.005415, allocations: 4 kB / 271.2 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.005437, allocations: 37.33 kB / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.005439, allocations: 0 / 271.2 MB, free: 3.016 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001623/0.005601, allocations: 65.83 kB / 271.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.00565, allocations: 110.9 kB / 271.4 MB, free: 2.812 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.005758, allocations: 201 kB / 271.6 MB, free: 2.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.005771, allocations: 33.69 kB / 271.6 MB, free: 2.562 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.005823, allocations: 130.9 kB / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.005833, allocations: 0 / 271.8 MB, free: 2.43 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.005869, allocations: 31.33 kB / 271.8 MB, free: 2.391 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.005989, allocations: 496.1 kB / 272.3 MB, free: 1.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.597e-05/0.006005, allocations: 7.938 kB / 272.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.006023, allocations: 19.38 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.334e-05/0.006056, allocations: 23.44 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.006059, allocations: 3.938 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.301e-05/0.006122, allocations: 49.62 kB / 272.4 MB, free: 1.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.006137, allocations: 7.938 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.006143, allocations: 0 / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.006158, allocations: 4 kB / 272.4 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.006224, allocations: 4 kB / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.006231, allocations: 0 / 272.4 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.094e-05/0.006252, allocations: 7.953 kB / 272.4 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.006259, allocations: 4.062 kB / 272.4 MB, free: 1.742 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 8.719e-05/0.006347, allocations: 160.6 kB / 272.6 MB, free: 1.574 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.00641, allocations: 45.59 kB / 272.6 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.861e-05/0.006438, allocations: 11.91 kB / 272.6 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.006453, allocations: 3.984 kB / 272.6 MB, free: 1.504 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.00646, allocations: 8 kB / 272.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.006464, allocations: 0 / 272.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.006611, allocations: 128.6 kB / 272.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.006614, allocations: 0 / 272.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.784e-05/0.006642, allocations: 12.02 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.006645, allocations: 0 / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.006653, allocations: 4 kB / 272.8 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.006656, allocations: 3.938 kB / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006657, allocations: 0 / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.006811, allocations: 338.7 kB / 273.1 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.006834, allocations: 15.94 kB / 273.1 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.006846, allocations: 3.984 kB / 273.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.035e-05/0.006897, allocations: 7.938 kB / 273.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.006931, allocations: 4 kB / 273.1 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.006935, allocations: 4 kB / 273.1 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.368e-05/0.006989, allocations: 147.2 kB / 273.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006989, allocations: 0 / 273.3 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001711/0.00716, allocations: 4 kB / 273.3 MB, free: 0.7773 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.573e-05/0.007246, allocations: 99.25 kB / 273.4 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.015e-05/0.007336, allocations: 23.62 kB / 273.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.007338, allocations: 0 / 273.4 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.566e-05/0.007353, allocations: 15.86 kB / 273.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.007651, allocations: 20.59 kB / 273.4 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.00796, allocations: 192.5 kB / 273.6 MB, free: 388 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.885e-05/0.008008, allocations: 59.34 kB / 273.7 MB, free: 308 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.008033, allocations: 11.89 kB / 273.7 MB, free: 296 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.008061, allocations: 12.5 kB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008062, allocations: 0 / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of Templates: time 0.002559/0.01062, allocations: 0.7078 MB / 274.4 MB, free: 15.59 MB / 266.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 -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.844859797041863]