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.001602/0.001602, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001755/0.001755, allocations: 162 kB / 24.99 MB, free: 8.746 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 1.044/1.044, allocations: 177.1 MB / 205.3 MB, free: 5.648 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 2.565e-06/2.565e-06, allocations: 0 / 273 MB, free: 1.867 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.654e-05/3.91e-05, allocations: 2.312 kB / 273.1 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002858/0.002897, allocations: 1.587 MB / 274.6 MB, free: 276 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004144/0.003311, allocations: 151.4 kB / 274.8 MB, free: 124 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.782e-05/0.003409, allocations: 11.94 kB / 274.8 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.00352, allocations: 3.938 kB / 274.8 MB, free: 108 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.003624, allocations: 11.86 kB / 274.8 MB, free: 96 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.003875, allocations: 39.84 kB / 274.9 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.003989, allocations: 39.84 kB / 274.9 MB, free: 16 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.004103, allocations: 8 kB / 274.9 MB, free: 8 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.004175, allocations: 31.89 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.004224, allocations: 11.98 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/0.004249, allocations: 0 / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.004262, allocations: 7.938 kB / 274.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.004322, allocations: 8 kB / 275 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.475e-05/0.004357, allocations: 19.94 kB / 275 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001244/0.004482, allocations: 43.77 kB / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.004485, allocations: 0 / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.004486, allocations: 0 / 275 MB, free: 15.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.004493, allocations: 3.938 kB / 275 MB, free: 15.88 MB / 266.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.000511/0.005004, allocations: 412.2 kB / 275.4 MB, free: 15.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.005049, allocations: 8.031 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.005105, allocations: 16.88 kB / 275.5 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.005321, allocations: 135.8 kB / 275.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.005331, allocations: 8.375 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.005343, allocations: 4.375 kB / 275.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.005609, allocations: 125.3 kB / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.005616, allocations: 192 / 275.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.005629, allocations: 4.312 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.005673, allocations: 4.375 kB / 275.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.919e-05/0.005703, allocations: 7.938 kB / 275.7 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.00613, allocations: 430.2 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.006237, allocations: 85.19 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.006276, allocations: 31.17 kB / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.006285, allocations: 0 / 276.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.006314, allocations: 37.39 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.006316, allocations: 0 / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002212/0.006537, allocations: 65.45 kB / 276.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.006611, allocations: 107.2 kB / 276.5 MB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.006754, allocations: 201.9 kB / 276.7 MB, free: 13.99 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.006769, allocations: 25.7 kB / 276.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.217e-05/0.006841, allocations: 142.8 kB / 276.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.364e-05/0.006854, allocations: 3.953 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.341e-05/0.006898, allocations: 23.38 kB / 276.9 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.007046, allocations: 0.4884 MB / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.579e-05/0.007062, allocations: 0 / 277.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.007088, allocations: 23.38 kB / 277.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.523e-05/0.007123, allocations: 23.31 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.007126, allocations: 4.062 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.254e-05/0.007198, allocations: 41.66 kB / 277.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.00722, allocations: 18.22 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007225, allocations: 0 / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.00724, allocations: 3.984 kB / 277.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.682e-05/0.007316, allocations: 8 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.007322, allocations: 0 / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.403e-05/0.007346, allocations: 4 kB / 277.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.007351, allocations: 0 / 277.5 MB, free: 13.14 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 9.043e-05/0.007442, allocations: 160.6 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.007533, allocations: 49.62 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.007563, allocations: 11.91 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.173e-05/0.007585, allocations: 4 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.00759, allocations: 0 / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.007594, allocations: 3.984 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.007773, allocations: 128.6 kB / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.007776, allocations: 0 / 277.8 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.007807, allocations: 11.94 kB / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.00781, allocations: 0 / 277.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.007817, allocations: 4.031 kB / 277.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.007822, allocations: 7.922 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.007826, allocations: 4 kB / 277.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.007996, allocations: 330.8 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.008029, allocations: 11.95 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.008042, allocations: 0 / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.008133, allocations: 15.86 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.008172, allocations: 7.938 kB / 278.2 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.008178, allocations: 4 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.452e-05/0.008243, allocations: 146.1 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008243, allocations: 4 kB / 278.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002543/0.008497, allocations: 8 kB / 278.4 MB, free: 12.17 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 0.0001082/0.008605, allocations: 99.23 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.961e-05/0.008695, allocations: 23.62 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.008697, allocations: 0 / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.945e-05/0.008717, allocations: 11.69 kB / 278.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.009111, allocations: 24.86 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.009445, allocations: 192.6 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.009499, allocations: 63.34 kB / 278.8 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.704e-05/0.009526, allocations: 7.984 kB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.009555, allocations: 8.5 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009556, allocations: 0 / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of Templates: time 0.002809/0.01236, allocations: 0.6781 MB / 279.5 MB, free: 11.02 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: 3.0215077809989452]