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.001317/0.001317, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 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.00149/0.00149, allocations: 216.3 kB / 23 MB, free: 5.574 MB / 14.72 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 1.611/1.611, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] 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.1.|sample1.y.2.",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.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 63.88 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4003, allocations: 53.33 MB / 429.8 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003594/0.4039, allocations: 1.534 MB / 431.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.4044, allocations: 147.5 kB / 431.5 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.4045, allocations: 4 kB / 431.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.4046, allocations: 3.938 kB / 431.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.4047, allocations: 11.92 kB / 431.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.405, allocations: 39.84 kB / 431.5 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.4051, allocations: 43.84 kB / 431.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.4053, allocations: 8 kB / 431.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.4053, allocations: 23.91 kB / 431.6 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.4054, allocations: 15.92 kB / 431.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.4054, allocations: 4 kB / 431.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/0.4054, allocations: 0 / 431.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.4055, allocations: 23.92 kB / 431.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.748e-05/0.4055, allocations: 19.81 kB / 431.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.4057, allocations: 55.55 kB / 431.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4057, allocations: 0 / 431.7 MB, free: 5.594 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.4057, allocations: 4 kB / 431.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.4057, allocations: 3.984 kB / 431.7 MB, free: 5.586 MB / 334.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.0006788/0.4064, allocations: 376.5 kB / 432.1 MB, free: 5.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.4064, allocations: 8.031 kB / 432.1 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.4065, allocations: 12.84 kB / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.4068, allocations: 192.2 kB / 432.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.4068, allocations: 8.375 kB / 432.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4069, allocations: 4.375 kB / 432.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.4072, allocations: 122.4 kB / 432.4 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4072, allocations: 4.188 kB / 432.4 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4072, allocations: 3.938 kB / 432.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.4072, allocations: 8 kB / 432.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.4073, allocations: 27.92 kB / 432.5 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.4079, allocations: 353.9 kB / 432.8 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.4081, allocations: 87.66 kB / 432.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.4081, allocations: 34.62 kB / 432.9 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.4081, allocations: 3.938 kB / 432.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.4082, allocations: 42.55 kB / 433 MB, free: 4.117 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.4082, allocations: 0 / 433 MB, free: 4.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003127/0.4085, allocations: 89.55 kB / 433.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/0.4087, allocations: 110.8 kB / 433.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.4089, allocations: 140.5 kB / 433.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4089, allocations: 29.7 kB / 433.3 MB, free: 3.711 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.703e-05/0.409, allocations: 92.12 kB / 433.4 MB, free: 3.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.409, allocations: 3.953 kB / 433.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.409, allocations: 17.72 kB / 433.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.4092, allocations: 318.8 kB / 433.8 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.4092, allocations: 8 kB / 433.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.031e-05/0.4093, allocations: 43.42 kB / 433.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4094, allocations: 55.28 kB / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4094, allocations: 0 / 433.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001474/0.4095, allocations: 73.58 kB / 433.9 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4096, allocations: 8 kB / 434 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4096, allocations: 0 / 434 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.4096, allocations: 3.984 kB / 434 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.4096, allocations: 4 kB / 434 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4096, allocations: 3.938 kB / 434 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.4097, allocations: 4 kB / 434 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.4097, allocations: 0 / 434 MB, free: 3.039 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001179/0.4098, allocations: 133.8 kB / 434.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.641e-05/0.4099, allocations: 57.58 kB / 434.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.4099, allocations: 19.81 kB / 434.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4099, allocations: 0 / 434.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4099, allocations: 4 kB / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4099, allocations: 0 / 434.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.4102, allocations: 173.6 kB / 434.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4102, allocations: 0 / 434.4 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.675e-05/0.4102, allocations: 7.922 kB / 434.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4102, allocations: 4 kB / 434.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.4102, allocations: 4.031 kB / 434.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4102, allocations: 3.938 kB / 434.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.4102, allocations: 7.984 kB / 434.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000269/0.4105, allocations: 255.6 kB / 434.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.4106, allocations: 89.05 kB / 434.7 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.4106, allocations: 8 kB / 434.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.4107, allocations: 0 / 434.7 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.4107, allocations: 11.98 kB / 434.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.4107, allocations: 0 / 434.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.17e-05/0.4108, allocations: 107.2 kB / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4108, allocations: 0 / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.4111, allocations: 8 kB / 434.8 MB, free: 2.051 MB / 334.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.0001246/0.4112, allocations: 103.2 kB / 434.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.4114, allocations: 39.92 kB / 435 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4114, allocations: 0 / 435 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.4114, allocations: 11.98 kB / 435 MB, free: 1.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4119, allocations: 30.45 kB / 435 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.4123, allocations: 183.6 kB / 435.2 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4127, allocations: 0.6924 MB / 435.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.4127, allocations: 7.984 kB / 435.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.4127, allocations: 11.44 kB / 435.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4127, allocations: 0 / 435.9 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Templates: time 0.003887/0.4166, allocations: 0.6288 MB / 436.5 MB, free: 308 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.078241588547826]