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.001328/0.001328, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001255/0.001255, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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.429/1.429, allocations: 173.4 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.083e-05, allocations: 4.953 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002294/0.002325, allocations: 1.515 MB / 320.4 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003693/0.002694, allocations: 145.5 kB / 320.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.002766, allocations: 6.5 kB / 320.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.002871, allocations: 5.812 kB / 320.6 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.002959, allocations: 11.73 kB / 320.6 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.003174, allocations: 40.8 kB / 320.6 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.88e-05/0.003272, allocations: 41.45 kB / 320.7 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.003378, allocations: 14.88 kB / 320.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.003429, allocations: 28.19 kB / 320.7 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.003467, allocations: 8.625 kB / 320.7 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.003487, allocations: 6.75 kB / 320.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.003499, allocations: 2.375 kB / 320.7 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.003556, allocations: 20.16 kB / 320.8 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.003595, allocations: 12.84 kB / 320.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.0037, allocations: 55.27 kB / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.003703, allocations: 1.656 kB / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.003703, allocations: 0 / 320.8 MB, free: 2.309 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.003708, allocations: 0 / 320.8 MB, free: 2.309 MB / 286.1 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.0003791/0.004087, allocations: 295.3 kB / 321.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.004123, allocations: 10.2 kB / 321.1 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.00416, allocations: 20.8 kB / 321.1 MB, free: 2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.004357, allocations: 142.5 kB / 321.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.004381, allocations: 1.938 kB / 321.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.004393, allocations: 3.719 kB / 321.3 MB, free: 1.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.004657, allocations: 118.8 kB / 321.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.004667, allocations: 192 / 321.4 MB, free: 1.766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.004678, allocations: 5.5 kB / 321.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.004703, allocations: 3.703 kB / 321.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.004817, allocations: 37.41 kB / 321.5 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.005125, allocations: 300.4 kB / 321.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.005239, allocations: 75.38 kB / 321.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.005297, allocations: 31.61 kB / 321.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.005312, allocations: 1.344 kB / 321.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.005334, allocations: 37.8 kB / 321.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.005335, allocations: 1.219 kB / 321.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002933/0.005628, allocations: 102 kB / 322 MB, free: 1.238 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.005678, allocations: 106.5 kB / 322.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.00577, allocations: 139.8 kB / 322.2 MB, free: 1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.265e-06/0.005778, allocations: 27.17 kB / 322.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.00581, allocations: 86.44 kB / 322.3 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.005819, allocations: 9.438 kB / 322.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.005849, allocations: 23.59 kB / 322.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.005898, allocations: 318.6 kB / 322.7 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.494e-05/0.005943, allocations: 11.94 kB / 322.7 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.873e-05/0.005982, allocations: 19.38 kB / 322.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.46e-05/0.006057, allocations: 30.75 kB / 322.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.006058, allocations: 1.188 kB / 322.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001113/0.006169, allocations: 54.78 kB / 322.8 MB, free: 468 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.006186, allocations: 9.781 kB / 322.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.006191, allocations: 5.25 kB / 322.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.00621, allocations: 1.438 kB / 322.8 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.833e-05/0.006228, allocations: 12.53 kB / 322.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.006233, allocations: 1.156 kB / 322.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.354e-05/0.006266, allocations: 3.703 kB / 322.8 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.006275, allocations: 5.391 kB / 322.8 MB, free: 444 kB / 286.1 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.565e-05/0.00634, allocations: 119.1 kB / 323 MB, free: 324 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.257e-05/0.006423, allocations: 55.53 kB / 323 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.006449, allocations: 12.5 kB / 323 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/0.006462, allocations: 7.156 kB / 323 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.006467, allocations: 1.125 kB / 323 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.00647, allocations: 1.531 kB / 323 MB, free: 264 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.006627, allocations: 117.2 kB / 323.1 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.006631, allocations: 1.562 kB / 323.1 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.443e-06/0.006637, allocations: 1.469 kB / 323.1 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.00664, allocations: 2.031 kB / 323.2 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.00665, allocations: 5.188 kB / 323.2 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.006652, allocations: 1.156 kB / 323.2 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.006654, allocations: 1.484 kB / 323.2 MB, free: 128 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.006902, allocations: 257.7 kB / 323.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.006942, allocations: 16.36 kB / 323.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.006964, allocations: 7.328 kB / 323.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.66e-05/0.00706, allocations: 6.188 kB / 323.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.007103, allocations: 4.328 kB / 323.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.00711, allocations: 5.078 kB / 323.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.867e-05/0.007199, allocations: 108.5 kB / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007199, allocations: 0 / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.007458, allocations: 5.344 kB / 323.6 MB, free: 15.79 MB / 302.1 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 0.0001205/0.007578, allocations: 102.4 kB / 323.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001628/0.007741, allocations: 37.38 kB / 323.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007742, allocations: 0 / 323.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.449e-05/0.007787, allocations: 10.7 kB / 323.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.008247, allocations: 24.38 kB / 323.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003957/0.008642, allocations: 184.8 kB / 323.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.62e-05/0.008728, allocations: 78.55 kB / 324 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.399e-05/0.008762, allocations: 6.766 kB / 324 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.008794, allocations: 10.59 kB / 324 MB, free: 15.44 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.008794, allocations: 5.031 kB / 324 MB, free: 15.44 MB / 302.1 MB Notification: Performance of Templates: time 0.003459/0.01225, allocations: 0.6485 MB / 324.7 MB, free: 15.34 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.163691770285368]