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.001059/0.001059, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.002777, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001045/0.001045, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.002406, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9028/0.9028, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08286/0.9857, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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 1.443e-06/1.443e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.25e-05/1.395e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002166/0.00218, allocations: 1.619 MB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002298/0.00241, allocations: 156.1 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.132e-05/0.002501, allocations: 7.938 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.002551, allocations: 3.938 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.0026, allocations: 15.86 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.002741, allocations: 35.89 kB / 247 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.484e-05/0.002836, allocations: 39.86 kB / 247.1 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.228e-05/0.002918, allocations: 15.92 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.545e-05/0.002974, allocations: 23.92 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.003007, allocations: 15.97 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.003029, allocations: 4 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/0.003039, allocations: 0 / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.227e-05/0.003081, allocations: 15.94 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.003103, allocations: 11.94 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.003191, allocations: 35.84 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.003201, allocations: 4 kB / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.003201, allocations: 0 / 247.2 MB, free: 11.58 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.026e-06/0.00321, allocations: 3.938 kB / 247.2 MB, free: 11.57 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.000344/0.003554, allocations: 292.3 kB / 247.5 MB, free: 11.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.003584, allocations: 8.625 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.003616, allocations: 4.938 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.003767, allocations: 144.9 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.003784, allocations: 4.359 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.003795, allocations: 4.375 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.003964, allocations: 120.8 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.003971, allocations: 192 / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.003978, allocations: 4.375 kB / 247.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.004004, allocations: 8.359 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.956e-05/0.004024, allocations: 14.7 kB / 247.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.004222, allocations: 247 kB / 248 MB, free: 10.64 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.00428, allocations: 70.56 kB / 248.1 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.004303, allocations: 22.64 kB / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5e-06/0.004308, allocations: 0 / 248.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.004329, allocations: 42.56 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.004331, allocations: 3.984 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.00013/0.004461, allocations: 53.56 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.004602, allocations: 106.8 kB / 248.3 MB, free: 10.27 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.004675, allocations: 134.7 kB / 248.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.004685, allocations: 30.08 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.004718, allocations: 92.11 kB / 248.6 MB, free: 9.996 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.517e-06/0.004727, allocations: 3.953 kB / 248.6 MB, free: 9.992 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.004756, allocations: 21.66 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.022e-05/0.004826, allocations: 314.8 kB / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-06/0.004832, allocations: 0 / 248.9 MB, free: 9.648 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.004846, allocations: 17.7 kB / 248.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.004872, allocations: 24.48 kB / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.004874, allocations: 0 / 249 MB, free: 9.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.567e-05/0.004919, allocations: 45.75 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.004929, allocations: 4 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.004933, allocations: 0 / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004944, allocations: 3.938 kB / 249 MB, free: 9.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.48e-05/0.004959, allocations: 7.938 kB / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-06/0.004961, allocations: 0 / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.004983, allocations: 0 / 249 MB, free: 9.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.004988, allocations: 4 kB / 249 MB, free: 9.523 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.335e-05/0.005051, allocations: 112.7 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.005102, allocations: 37.77 kB / 249.2 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.005125, allocations: 15.95 kB / 249.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.005137, allocations: 3.938 kB / 249.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005138, allocations: 4 kB / 249.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.005141, allocations: 0 / 249.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.005283, allocations: 73.88 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.005285, allocations: 0 / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-06/0.005289, allocations: 4 kB / 249.3 MB, free: 9.242 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.501e-05/0.005314, allocations: 15.94 kB / 249.3 MB, free: 9.227 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.005317, allocations: 7.938 kB / 249.3 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.005321, allocations: 0 / 249.3 MB, free: 9.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.005322, allocations: 4.031 kB / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.005326, allocations: 11.91 kB / 249.3 MB, free: 9.203 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.82e-05/0.005415, allocations: 210.5 kB / 249.5 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.005426, allocations: 7.984 kB / 249.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.005505, allocations: 0 / 249.5 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.00553, allocations: 7.938 kB / 249.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.005534, allocations: 0 / 249.5 MB, free: 8.961 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.582e-05/0.00556, allocations: 32.27 kB / 249.6 MB, free: 8.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.00556, allocations: 3.938 kB / 249.6 MB, free: 8.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.005769, allocations: 11.94 kB / 249.6 MB, free: 8.914 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 6.766e-05/0.005837, allocations: 88.38 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.179e-05/0.005888, allocations: 12.86 kB / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.005892, allocations: 0 / 249.7 MB, free: 8.801 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-05/0.005906, allocations: 8.859 kB / 249.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.006213, allocations: 120.4 kB / 249.8 MB, free: 8.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.006577, allocations: 187.8 kB / 250 MB, free: 8.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.006621, allocations: 63.34 kB / 250 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.006637, allocations: 0 / 250 MB, free: 8.355 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.006689, allocations: 55.38 kB / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of SimCode: time 4.01e-07/0.006689, allocations: 0 / 250.1 MB, free: 8.301 MB / 250.7 MB Notification: Performance of Templates: time 0.002196/0.008885, allocations: 0.6725 MB / 250.8 MB, free: 7.645 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4408435858786106]