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.0009228/0.0009228, allocations: 79.91 kB / 21.18 MB, free: 3.387 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.0008953/0.0008953, 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 0.9625/0.9625, allocations: 173.4 MB / 201.1 MB, free: 9.328 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 2.775e-06/2.775e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.04e-05/3.317e-05, allocations: 10.19 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003176/0.003209, allocations: 1.565 MB / 269.6 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003994/0.003608, allocations: 151.4 kB / 269.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.003698, allocations: 3.938 kB / 269.7 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.003832, allocations: 11.92 kB / 269.7 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.003937, allocations: 3.938 kB / 269.7 MB, free: 4.691 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.004174, allocations: 47.77 kB / 269.8 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.004292, allocations: 43.84 kB / 269.8 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.00441, allocations: 11.98 kB / 269.8 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.324e-05/0.004463, allocations: 15.98 kB / 269.8 MB, free: 4.574 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.553e-05/0.004499, allocations: 15.92 kB / 269.9 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.004522, allocations: 4 kB / 269.9 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.004533, allocations: 0 / 269.9 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.004593, allocations: 19.92 kB / 269.9 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.004633, allocations: 15.92 kB / 269.9 MB, free: 4.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004764, allocations: 35.84 kB / 269.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.004768, allocations: 4 kB / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.00477, allocations: 0 / 269.9 MB, free: 4.48 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.004776, allocations: 0 / 269.9 MB, free: 4.48 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.0004382/0.005214, allocations: 404.3 kB / 270.3 MB, free: 4.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.005252, allocations: 8.922 kB / 270.3 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.005296, allocations: 8.891 kB / 270.3 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.00549, allocations: 144.4 kB / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.005513, allocations: 384 / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.005529, allocations: 8.375 kB / 270.5 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.005804, allocations: 133.3 kB / 270.6 MB, free: 3.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.005817, allocations: 4.188 kB / 270.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.005828, allocations: 384 / 270.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/0.005865, allocations: 384 / 270.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.711e-05/0.005892, allocations: 15.88 kB / 270.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.00625, allocations: 402.4 kB / 271 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.336e-05/0.006334, allocations: 89.17 kB / 271.1 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.916e-05/0.006363, allocations: 35.12 kB / 271.2 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.006372, allocations: 3.938 kB / 271.2 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.006402, allocations: 45.38 kB / 271.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.006403, allocations: 0 / 271.2 MB, free: 3.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001778/0.006581, allocations: 57.53 kB / 271.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.006649, allocations: 114.7 kB / 271.4 MB, free: 2.809 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006756, allocations: 196.5 kB / 271.6 MB, free: 2.602 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.006766, allocations: 25.7 kB / 271.6 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.006823, allocations: 135.2 kB / 271.7 MB, free: 2.434 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.006834, allocations: 7.938 kB / 271.7 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.006868, allocations: 31.31 kB / 271.8 MB, free: 2.387 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.006987, allocations: 496.1 kB / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.007, allocations: 0 / 272.2 MB, free: 1.891 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.935e-05/0.007019, allocations: 23.38 kB / 272.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.031e-05/0.007049, allocations: 19.38 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.007051, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.994e-05/0.007111, allocations: 49.72 kB / 272.3 MB, free: 1.777 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.007126, allocations: 11.94 kB / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.007131, allocations: 0 / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.007146, allocations: 0 / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.016e-05/0.007166, allocations: 0 / 272.3 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.007173, allocations: 4 kB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.007202, allocations: 0 / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.007209, allocations: 4 kB / 272.4 MB, free: 1.758 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 7.257e-05/0.007282, allocations: 160.5 kB / 272.5 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.007341, allocations: 45.64 kB / 272.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.007373, allocations: 15.97 kB / 272.6 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/0.007392, allocations: 7.984 kB / 272.6 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.007396, allocations: 4 kB / 272.6 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.007399, allocations: 0 / 272.6 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.007532, allocations: 132.6 kB / 272.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.007536, allocations: 0 / 272.7 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.007546, allocations: 4 kB / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007547, allocations: 0 / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.007553, allocations: 0 / 272.7 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.007555, allocations: 3.938 kB / 272.7 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.007558, allocations: 11.88 kB / 272.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.007699, allocations: 330.8 kB / 273.1 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.035e-05/0.00773, allocations: 12 kB / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007741, allocations: 0 / 273.1 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.007802, allocations: 11.92 kB / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.007837, allocations: 0 / 273.1 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.007842, allocations: 4 kB / 273.1 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.235e-05/0.007894, allocations: 145.7 kB / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007894, allocations: 0 / 273.2 MB, free: 0.8086 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.008061, allocations: 7.953 kB / 273.2 MB, free: 0.8008 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 8.575e-05/0.008147, allocations: 111.2 kB / 273.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.043e-05/0.008227, allocations: 15.69 kB / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.008229, allocations: 0 / 273.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.008246, allocations: 19.62 kB / 273.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.008545, allocations: 12.58 kB / 273.4 MB, free: 0.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.008822, allocations: 176.7 kB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.008864, allocations: 67.69 kB / 273.6 MB, free: 340 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.167e-05/0.008885, allocations: 4.25 kB / 273.6 MB, free: 336 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.008911, allocations: 8.5 kB / 273.6 MB, free: 328 kB / 250.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008912, allocations: 0 / 273.6 MB, free: 328 kB / 250.7 MB Notification: Performance of Templates: time 0.00243/0.01134, allocations: 0.6668 MB / 274.3 MB, free: 15.67 MB / 266.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.7738293819129467]