Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 84.25 kB / 22.22 MB, free: 2.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009735/0.0009735, allocations: 165.5 kB / 25.61 MB, free: 8.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9686/0.9686, allocations: 177 MB / 205.9 MB, free: 4.453 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.534e-06/2.534e-06, allocations: 0 / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.561e-05, allocations: 2.312 kB / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003741/0.003776, allocations: 1.576 MB / 275.7 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004442/0.00422, allocations: 153.8 kB / 275.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.399e-05/0.004314, allocations: 0 / 275.8 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.004447, allocations: 7.875 kB / 275.8 MB, free: 2.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.004573, allocations: 11.92 kB / 275.8 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.004848, allocations: 35.84 kB / 275.9 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.005008, allocations: 47.77 kB / 275.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.005137, allocations: 13.78 kB / 275.9 MB, free: 2.445 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.0052, allocations: 23.91 kB / 276 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.549e-05/0.005236, allocations: 8 kB / 276 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.005259, allocations: 0 / 276 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.521e-05/0.005274, allocations: 4 kB / 276 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.00534, allocations: 20.56 kB / 276 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.101e-05/0.005381, allocations: 15.94 kB / 276 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.005536, allocations: 40.45 kB / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.005541, allocations: 2.469 kB / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.005543, allocations: 0 / 276.1 MB, free: 2.336 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.984e-06/0.00555, allocations: 0 / 276.1 MB, free: 2.336 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.0005278/0.006077, allocations: 392.3 kB / 276.4 MB, free: 1.914 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.006121, allocations: 12.03 kB / 276.5 MB, free: 1.902 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.012e-05/0.006171, allocations: 16.83 kB / 276.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.006391, allocations: 154.1 kB / 276.6 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.006418, allocations: 8.359 kB / 276.6 MB, free: 1.703 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.006429, allocations: 4.375 kB / 276.6 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.006671, allocations: 121.9 kB / 276.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.00668, allocations: 0.8438 kB / 276.8 MB, free: 1.551 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.006691, allocations: 8.359 kB / 276.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.006724, allocations: 384 / 276.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.006753, allocations: 15.88 kB / 276.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.007126, allocations: 383 kB / 277.1 MB, free: 1.117 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.748e-05/0.007223, allocations: 81.19 kB / 277.2 MB, free: 1 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.007256, allocations: 31.17 kB / 277.3 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.007265, allocations: 4 kB / 277.3 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.007293, allocations: 41.33 kB / 277.3 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/0.007294, allocations: 4 kB / 277.3 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001997/0.007494, allocations: 57.52 kB / 277.4 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.007556, allocations: 110.8 kB / 277.5 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.007681, allocations: 188.7 kB / 277.7 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007697, allocations: 33.7 kB / 277.7 MB, free: 476 kB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.00776, allocations: 130.9 kB / 277.8 MB, free: 340 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.007772, allocations: 7.891 kB / 277.8 MB, free: 332 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-05/0.007819, allocations: 31.36 kB / 277.9 MB, free: 292 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.007986, allocations: 496.5 kB / 278.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.008001, allocations: 7.938 kB / 278.3 MB, free: 15.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.233e-05/0.008023, allocations: 19.38 kB / 278.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.008059, allocations: 23.36 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.008062, allocations: 4 kB / 278.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.615e-05/0.008138, allocations: 45.64 kB / 278.4 MB, free: 15.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008153, allocations: 4 kB / 278.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.008158, allocations: 0 / 278.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.008171, allocations: 3.938 kB / 278.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.502e-05/0.008186, allocations: 8.062 kB / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.008189, allocations: 4 kB / 278.5 MB, free: 15.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.246e-05/0.008231, allocations: 7.938 kB / 278.5 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.008238, allocations: 4 kB / 278.5 MB, free: 15.64 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[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 9.627e-05/0.008335, allocations: 152.6 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.59e-05/0.008421, allocations: 37.64 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.008449, allocations: 11.97 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.008475, allocations: 11.92 kB / 278.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.008477, allocations: 0 / 278.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.008482, allocations: 4.031 kB / 278.7 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.008676, allocations: 109.2 kB / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.008679, allocations: 4 kB / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-06/0.008686, allocations: 0 / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.00869, allocations: 0 / 278.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.008698, allocations: 8 kB / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.0087, allocations: 0 / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.008702, allocations: 0 / 278.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004746/0.009176, allocations: 326.6 kB / 279.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.009215, allocations: 12 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.009236, allocations: 4.031 kB / 279.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.009345, allocations: 7.984 kB / 279.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.009381, allocations: 3.938 kB / 279.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.009388, allocations: 4 kB / 279.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.226e-05/0.00945, allocations: 135.2 kB / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.00945, allocations: 0 / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002972/0.009747, allocations: 15.94 kB / 279.3 MB, free: 14.74 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[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.000122/0.009869, allocations: 99.23 kB / 279.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.00996, allocations: 27.61 kB / 279.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.009962, allocations: 0 / 279.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.004e-05/0.009982, allocations: 11.69 kB / 279.4 MB, free: 14.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/0.01043, allocations: 22.47 kB / 279.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.01079, allocations: 172.8 kB / 279.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.01085, allocations: 67.2 kB / 279.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.589e-05/0.01087, allocations: 0 / 279.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.01095, allocations: 82.53 kB / 279.8 MB, free: 14.19 MB / 266.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01095, allocations: 7.938 kB / 279.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Templates: time 0.003419/0.01437, allocations: 0.7187 MB / 280.5 MB, free: 13.5 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7821085546165705]