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.001875/0.001875, allocations: 95.86 kB / 20.96 MB, free: 3.461 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.001971/0.001971, allocations: 149.1 kB / 24.26 MB, free: 168 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 1.488/1.488, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.262e-06/1.262e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.033e-05, allocations: 6.25 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003042/0.003072, allocations: 1.53 MB / 268.8 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004156/0.003488, allocations: 151.4 kB / 269 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.003552, allocations: 7.938 kB / 269 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.003644, allocations: 3.938 kB / 269 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.003726, allocations: 7.922 kB / 269 MB, free: 5.023 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.003956, allocations: 47.77 kB / 269.1 MB, free: 4.977 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.004059, allocations: 35.86 kB / 269.1 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.004152, allocations: 11.98 kB / 269.1 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.004203, allocations: 19.98 kB / 269.1 MB, free: 4.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.00424, allocations: 15.91 kB / 269.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.004263, allocations: 4 kB / 269.1 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.004276, allocations: 4 kB / 269.1 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.004329, allocations: 19.92 kB / 269.2 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.004361, allocations: 11.94 kB / 269.2 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.00448, allocations: 55.8 kB / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004483, allocations: 0 / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.004483, allocations: 0 / 269.2 MB, free: 4.801 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.004487, allocations: 0 / 269.2 MB, free: 4.801 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.0005454/0.005033, allocations: 400 kB / 269.6 MB, free: 4.371 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.005066, allocations: 8.922 kB / 269.6 MB, free: 4.363 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.005111, allocations: 16.89 kB / 269.6 MB, free: 4.348 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.005339, allocations: 155.1 kB / 269.8 MB, free: 4.172 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.00536, allocations: 4.375 kB / 269.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.005368, allocations: 384 / 269.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.00566, allocations: 128.5 kB / 269.9 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00567, allocations: 4.188 kB / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005683, allocations: 4.359 kB / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.005704, allocations: 384 / 269.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.749e-05/0.005802, allocations: 35.8 kB / 270 MB, free: 3.973 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.006268, allocations: 414.4 kB / 270.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.006426, allocations: 89.25 kB / 270.5 MB, free: 3.398 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.006495, allocations: 31.11 kB / 270.5 MB, free: 3.355 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.006507, allocations: 4 kB / 270.5 MB, free: 3.352 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.006545, allocations: 41.33 kB / 270.5 MB, free: 3.301 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.006546, allocations: 4 kB / 270.5 MB, free: 3.297 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003083/0.006855, allocations: 81.69 kB / 270.6 MB, free: 3.211 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.00694, allocations: 106.8 kB / 270.7 MB, free: 3.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.007125, allocations: 213.8 kB / 270.9 MB, free: 2.855 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.007147, allocations: 25.7 kB / 271 MB, free: 2.824 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.007244, allocations: 134.9 kB / 271.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.007253, allocations: 0 / 271.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.029e-05/0.007313, allocations: 31.33 kB / 271.1 MB, free: 2.648 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000288/0.007601, allocations: 0.4922 MB / 271.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.366e-05/0.007645, allocations: 4 kB / 271.6 MB, free: 2.141 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.091e-05/0.007696, allocations: 31.55 kB / 271.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.912e-05/0.007785, allocations: 35.36 kB / 271.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.007786, allocations: 0 / 271.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.007916, allocations: 57.62 kB / 271.7 MB, free: 1.996 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.007931, allocations: 7.938 kB / 271.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.007935, allocations: 0 / 271.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.007946, allocations: 128 / 271.7 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.755e-05/0.007964, allocations: 8 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.007968, allocations: 0 / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.007997, allocations: 0 / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.008009, allocations: 4 kB / 271.8 MB, free: 1.977 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 0.0001241/0.008133, allocations: 168.5 kB / 271.9 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/0.008214, allocations: 41.59 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.008249, allocations: 15.86 kB / 272 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.008263, allocations: 7.984 kB / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.008265, allocations: 0 / 272 MB, free: 1.727 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.008268, allocations: 8.031 kB / 272 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.008493, allocations: 128.6 kB / 272.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008495, allocations: 0 / 272.1 MB, free: 1.559 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.277e-06/0.008504, allocations: 4 kB / 272.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008506, allocations: 3.938 kB / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008512, allocations: 0 / 272.1 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.008516, allocations: 3.938 kB / 272.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.008519, allocations: 4 kB / 272.1 MB, free: 1.543 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000323/0.008842, allocations: 342.7 kB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.008884, allocations: 19.94 kB / 272.5 MB, free: 1.164 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.008899, allocations: 8 kB / 272.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.008992, allocations: 7.938 kB / 272.5 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.009031, allocations: 3.984 kB / 272.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.00904, allocations: 4 kB / 272.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.009143, allocations: 145.8 kB / 272.7 MB, free: 1 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009143, allocations: 0 / 272.7 MB, free: 1 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.009399, allocations: 8 kB / 272.7 MB, free: 0.9922 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 0.0001161/0.009515, allocations: 99.23 kB / 272.8 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.009672, allocations: 39.61 kB / 272.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.009674, allocations: 0 / 272.8 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-05/0.009732, allocations: 23.67 kB / 272.8 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.01013, allocations: 24.47 kB / 272.8 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.01049, allocations: 180.7 kB / 273 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.689e-05/0.01059, allocations: 71.33 kB / 273.1 MB, free: 500 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.82e-05/0.01062, allocations: 8.344 kB / 273.1 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.177e-05/0.01065, allocations: 16.5 kB / 273.1 MB, free: 476 kB / 250.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01065, allocations: 0 / 273.1 MB, free: 476 kB / 250.7 MB Notification: Performance of Templates: time 0.00354/0.01419, allocations: 0.6601 MB / 273.8 MB, free: 15.82 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","/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.165042918990366]