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.001093/0.001093, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.001205/0.001205, allocations: 141.2 kB / 24.89 MB, free: 9.203 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.9679/0.9679, allocations: 173.4 MB / 201.5 MB, free: 9.184 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.353e-06/1.353e-06, allocations: 3.938 kB / 268.5 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.098e-05/1.233e-05, allocations: 2.312 kB / 268.5 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.005087/0.005099, allocations: 1.573 MB / 270 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003185/0.005418, allocations: 155.3 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.005481, allocations: 8 kB / 270.2 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.579e-05/0.005567, allocations: 7.922 kB / 270.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.744e-05/0.005644, allocations: 11.92 kB / 270.2 MB, free: 4.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001621/0.005806, allocations: 39.78 kB / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.907e-05/0.005895, allocations: 43.84 kB / 270.3 MB, free: 4.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.239e-05/0.005968, allocations: 7.984 kB / 270.3 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.48e-05/0.006012, allocations: 23.92 kB / 270.3 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.768e-05/0.00605, allocations: 15.97 kB / 270.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.006068, allocations: 0 / 270.3 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.307e-06/0.006078, allocations: 4 kB / 270.3 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.156e-05/0.006119, allocations: 19.88 kB / 270.4 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.006142, allocations: 19.92 kB / 270.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.145e-05/0.006224, allocations: 35.84 kB / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.006225, allocations: 0 / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.006226, allocations: 0 / 270.4 MB, free: 4.223 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.504e-06/0.006228, allocations: 0 / 270.4 MB, free: 4.223 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.000293/0.006521, allocations: 280.6 kB / 270.7 MB, free: 3.922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.006551, allocations: 8.922 kB / 270.7 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.756e-05/0.006578, allocations: 20.88 kB / 270.7 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.006714, allocations: 137.6 kB / 270.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.006722, allocations: 8.312 kB / 270.9 MB, free: 3.727 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.006732, allocations: 4.375 kB / 270.9 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.006896, allocations: 124.7 kB / 271 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.972e-06/0.006902, allocations: 192 / 271 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.006908, allocations: 384 / 271 MB, free: 3.574 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.006933, allocations: 8.359 kB / 271 MB, free: 3.566 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.64e-05/0.006959, allocations: 14.75 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.007177, allocations: 259 kB / 271.3 MB, free: 3.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.974e-05/0.007236, allocations: 58.69 kB / 271.3 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.05e-05/0.007257, allocations: 22.56 kB / 271.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.007264, allocations: 4 kB / 271.4 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.007283, allocations: 30.56 kB / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.82e-07/0.007284, allocations: 0 / 271.4 MB, free: 3.113 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.003144/0.01043, allocations: 57.5 kB / 271.4 MB, free: 3.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.01048, allocations: 111.2 kB / 271.5 MB, free: 2.918 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.01058, allocations: 138.7 kB / 271.7 MB, free: 2.77 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.01059, allocations: 25.7 kB / 271.7 MB, free: 2.738 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.22e-05/0.01062, allocations: 96.06 kB / 271.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-06/0.01063, allocations: 0 / 271.8 MB, free: 2.641 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.01066, allocations: 17.67 kB / 271.8 MB, free: 2.617 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.01073, allocations: 330.8 kB / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-06/0.01074, allocations: 0 / 272.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.421e-05/0.01075, allocations: 13.72 kB / 272.2 MB, free: 2.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.467e-05/0.01078, allocations: 20.48 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01078, allocations: 4.062 kB / 272.2 MB, free: 2.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.01083, allocations: 49.56 kB / 272.2 MB, free: 2.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.01084, allocations: 4 kB / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.01084, allocations: 0 / 272.2 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.01085, allocations: 3.938 kB / 272.2 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.319e-05/0.0109, allocations: 4 kB / 272.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.0109, allocations: 7.984 kB / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.935e-05/0.01092, allocations: 0 / 272.2 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.01092, allocations: 0 / 272.2 MB, free: 2.16 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 5.794e-05/0.01098, allocations: 116.7 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.01104, allocations: 45.62 kB / 272.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.01106, allocations: 7.969 kB / 272.4 MB, free: 1.973 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.01107, allocations: 7.938 kB / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01107, allocations: 0 / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01108, allocations: 0 / 272.4 MB, free: 1.965 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.01128, allocations: 77.86 kB / 272.5 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01129, allocations: 4 kB / 272.5 MB, free: 1.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.01131, allocations: 7.984 kB / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.01131, allocations: 0 / 272.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.01131, allocations: 12.03 kB / 272.5 MB, free: 1.848 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.01131, allocations: 4 kB / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01131, allocations: 0 / 272.5 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.809e-05/0.0114, allocations: 222.4 kB / 272.7 MB, free: 1.605 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.01143, allocations: 11.95 kB / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.01144, allocations: 0 / 272.8 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.954e-05/0.01152, allocations: 7.984 kB / 272.8 MB, free: 1.586 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.01154, allocations: 7.938 kB / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.01154, allocations: 0 / 272.8 MB, free: 1.578 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.689e-05/0.01157, allocations: 31.41 kB / 272.8 MB, free: 1.547 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01157, allocations: 4.031 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.01179, allocations: 4 kB / 272.8 MB, free: 1.539 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 6.849e-05/0.01186, allocations: 88.34 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.311e-05/0.01192, allocations: 20.8 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01192, allocations: 0 / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.01193, allocations: 8.859 kB / 272.9 MB, free: 1.41 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01222, allocations: 19.75 kB / 272.9 MB, free: 1.387 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.01245, allocations: 188.1 kB / 273.1 MB, free: 1.172 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.276e-05/0.01249, allocations: 63.28 kB / 273.2 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.728e-05/0.01251, allocations: 7.906 kB / 273.2 MB, free: 1.082 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.793e-05/0.01256, allocations: 59.36 kB / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of SimCode: time 4.31e-07/0.01256, allocations: 0 / 273.3 MB, free: 1.023 MB / 250.7 MB Notification: Performance of Templates: time 0.005183/0.01774, allocations: 0.6678 MB / 273.9 MB, free: 392 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 -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.513603064697236]