Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0009997/0.0009997, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001125/0.001125, allocations: 140.4 kB / 25.59 MB, free: 8.906 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.9409/0.9409, allocations: 173.4 MB / 202.3 MB, free: 8.289 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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.086e-05/2.252e-05, allocations: 2.312 kB / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002141/0.002164, allocations: 1.568 MB / 270.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003728/0.002537, allocations: 151.4 kB / 270.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.002614, allocations: 0 / 270.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001036/0.002717, allocations: 8.547 kB / 270.9 MB, free: 8.059 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.15e-05/0.002809, allocations: 11.92 kB / 270.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.002976, allocations: 44.3 kB / 271 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.003064, allocations: 40.55 kB / 271 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.081e-05/0.003155, allocations: 11.98 kB / 271 MB, free: 7.953 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.003193, allocations: 17.95 kB / 271 MB, free: 7.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.919e-05/0.003222, allocations: 19.91 kB / 271.1 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.003243, allocations: 4 kB / 271.1 MB, free: 7.914 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-06/0.003251, allocations: 3.938 kB / 271.1 MB, free: 7.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.917e-05/0.0033, allocations: 15.94 kB / 271.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.003323, allocations: 13.33 kB / 271.1 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.004e-05/0.003413, allocations: 43.77 kB / 271.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003415, allocations: 0 / 271.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.003416, allocations: 0 / 271.1 MB, free: 7.84 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.003419, allocations: 0.625 kB / 271.1 MB, free: 7.84 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.0003338/0.003753, allocations: 396.9 kB / 271.5 MB, free: 7.414 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.003783, allocations: 9.062 kB / 271.5 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.003811, allocations: 8.891 kB / 271.5 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.003951, allocations: 147.8 kB / 271.7 MB, free: 7.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.003966, allocations: 4.312 kB / 271.7 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.003973, allocations: 4.375 kB / 271.7 MB, free: 7.223 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.004137, allocations: 130.8 kB / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004145, allocations: 192 / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.004153, allocations: 1.031 kB / 271.8 MB, free: 7.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.004183, allocations: 4.375 kB / 271.8 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.004203, allocations: 8.812 kB / 271.8 MB, free: 7.055 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.004486, allocations: 379.7 kB / 272.2 MB, free: 6.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.67e-05/0.004562, allocations: 93.66 kB / 272.3 MB, free: 6.52 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.004585, allocations: 35.17 kB / 272.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.00459, allocations: 0 / 272.3 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.004609, allocations: 37.39 kB / 272.4 MB, free: 6.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.00461, allocations: 3.938 kB / 272.4 MB, free: 6.422 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.004758, allocations: 65.45 kB / 272.4 MB, free: 6.352 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.004803, allocations: 106.8 kB / 272.5 MB, free: 6.223 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.004889, allocations: 197.7 kB / 272.7 MB, free: 6.012 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.004898, allocations: 25.7 kB / 272.8 MB, free: 5.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.004944, allocations: 139.2 kB / 272.9 MB, free: 5.84 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.918e-06/0.004954, allocations: 11.94 kB / 272.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.00498, allocations: 23.33 kB / 272.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.005088, allocations: 496.1 kB / 273.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.012e-05/0.005098, allocations: 7.984 kB / 273.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.005115, allocations: 19.38 kB / 273.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.285e-05/0.005138, allocations: 23.31 kB / 273.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.00514, allocations: 0 / 273.5 MB, free: 5.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.671e-05/0.005187, allocations: 41.64 kB / 273.5 MB, free: 5.188 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005198, allocations: 8.125 kB / 273.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.005202, allocations: 0 / 273.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.005212, allocations: 7.938 kB / 273.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.427e-05/0.005226, allocations: 3.984 kB / 273.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-06/0.005228, allocations: 0 / 273.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.411e-05/0.005252, allocations: 4 kB / 273.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.005256, allocations: 0 / 273.5 MB, free: 5.164 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[1],sample1.u[2]) * 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 6.561e-05/0.005322, allocations: 160.6 kB / 273.7 MB, free: 4.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.00537, allocations: 41.59 kB / 273.7 MB, free: 4.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.005393, allocations: 15.94 kB / 273.7 MB, free: 4.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.005408, allocations: 11.94 kB / 273.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.005409, allocations: 0 / 273.8 MB, free: 4.918 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.005413, allocations: 4 kB / 273.8 MB, free: 4.914 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.005532, allocations: 113.2 kB / 273.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.005535, allocations: 0 / 273.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.005543, allocations: 0 / 273.9 MB, free: 4.777 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.005546, allocations: 8 kB / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.00555, allocations: 0 / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.005551, allocations: 0 / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.005552, allocations: 0 / 273.9 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.005672, allocations: 330.7 kB / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.005698, allocations: 11.94 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.815e-06/0.005705, allocations: 3.938 kB / 274.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.164e-05/0.005757, allocations: 4 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.005784, allocations: 7.938 kB / 274.2 MB, free: 4.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.005787, allocations: 4 kB / 274.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.617e-05/0.005833, allocations: 145.5 kB / 274.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005833, allocations: 0 / 274.4 MB, free: 4.25 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001611/0.005994, allocations: 4 kB / 274.4 MB, free: 4.246 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[1],sample1.u[2],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 7.924e-05/0.006073, allocations: 103.3 kB / 274.5 MB, free: 4.137 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.006135, allocations: 19.62 kB / 274.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.006137, allocations: 4 kB / 274.5 MB, free: 4.109 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.327e-05/0.00615, allocations: 11.67 kB / 274.5 MB, free: 4.094 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.006415, allocations: 16.59 kB / 274.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002307/0.006646, allocations: 181 kB / 274.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.622e-05/0.006682, allocations: 63.34 kB / 274.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.629e-05/0.006698, allocations: 4 kB / 274.8 MB, free: 3.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.007027, allocations: 78.19 kB / 274.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007027, allocations: 0 / 274.9 MB, free: 3.699 MB / 250.7 MB Notification: Performance of Templates: time 0.002095/0.009122, allocations: 0.719 MB / 275.6 MB, free: 3 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.7430218691006303]