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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001722/0.001722, allocations: 117.6 kB / 17.79 MB, free: 5.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002136/0.002137, allocations: 208.7 kB / 18.74 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002067/0.002067, allocations: 63.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3977, allocations: 50.55 MB / 409.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003253/0.401, allocations: 1.515 MB / 410.8 MB, free: 48 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004185/0.4015, allocations: 147.7 kB / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.772e-05/0.4016, allocations: 0 / 410.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.4017, allocations: 7.938 kB / 410.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.503e-05/0.4018, allocations: 15.86 kB / 410.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.402, allocations: 35.41 kB / 411 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.976e-05/0.4021, allocations: 39.91 kB / 411 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.4022, allocations: 15.98 kB / 411 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.36e-05/0.4023, allocations: 27.75 kB / 411 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.4023, allocations: 15.92 kB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.4024, allocations: 0 / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.4024, allocations: 4 kB / 411.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.4024, allocations: 19.92 kB / 411.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.333e-05/0.4025, allocations: 23.81 kB / 411.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.4026, allocations: 55.69 kB / 411.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4026, allocations: 3.984 kB / 411.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4026, allocations: 0 / 411.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.4026, allocations: 4 kB / 411.2 MB, free: 15.64 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.0005014/0.4031, allocations: 368.3 kB / 411.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4032, allocations: 8.031 kB / 411.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.4032, allocations: 8.844 kB / 411.5 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.4035, allocations: 196.1 kB / 411.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.4035, allocations: 384 / 411.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.4035, allocations: 8.359 kB / 411.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.4038, allocations: 122.5 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4038, allocations: 192 / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4039, allocations: 3.938 kB / 411.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.4039, allocations: 7.938 kB / 411.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.662e-05/0.404, allocations: 23.98 kB / 411.9 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.4044, allocations: 361.9 kB / 412.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4045, allocations: 75.78 kB / 412.3 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.4046, allocations: 38.56 kB / 412.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.4046, allocations: 0 / 412.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.4046, allocations: 38.5 kB / 412.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4047, allocations: 3.938 kB / 412.4 MB, free: 14.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000287/0.4049, allocations: 101.8 kB / 412.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.405, allocations: 106.8 kB / 412.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4051, allocations: 133.8 kB / 412.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4052, allocations: 25.7 kB / 412.8 MB, free: 13.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.674e-05/0.4052, allocations: 100 kB / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.4052, allocations: 0 / 412.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.4053, allocations: 25.62 kB / 412.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4054, allocations: 318.8 kB / 413.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.436e-05/0.4054, allocations: 16 kB / 413.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.4055, allocations: 39.41 kB / 413.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.931e-05/0.4056, allocations: 63.28 kB / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4056, allocations: 0 / 413.3 MB, free: 13.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001406/0.4058, allocations: 69.62 kB / 413.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4058, allocations: 7.938 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.4058, allocations: 3.984 kB / 413.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.4058, allocations: 4 kB / 413.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.991e-05/0.4058, allocations: 0 / 413.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.4059, allocations: 3.984 kB / 413.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.851e-05/0.4059, allocations: 12.06 kB / 413.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.4059, allocations: 0 / 413.4 MB, free: 13.09 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 9.049e-05/0.406, allocations: 125.8 kB / 413.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.4061, allocations: 53.53 kB / 413.6 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.4061, allocations: 19.81 kB / 413.6 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4062, allocations: 4 kB / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4062, allocations: 0 / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.4062, allocations: 0 / 413.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.4064, allocations: 177.6 kB / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4064, allocations: 0 / 413.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-06/0.4064, allocations: 7.984 kB / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4064, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4064, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4065, allocations: 0 / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4065, allocations: 4 kB / 413.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.4067, allocations: 259.5 kB / 414.1 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.4067, allocations: 97 kB / 414.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.4068, allocations: 3.938 kB / 414.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.786e-05/0.4069, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.4069, allocations: 3.984 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.219e-06/0.4069, allocations: 4 kB / 414.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.407, allocations: 106.1 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.407, allocations: 3.938 kB / 414.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.4072, allocations: 8 kB / 414.3 MB, free: 12.11 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.0001121/0.4074, allocations: 107.2 kB / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.4075, allocations: 35.92 kB / 414.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4075, allocations: 0 / 414.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.4076, allocations: 15.98 kB / 414.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.408, allocations: 36.27 kB / 414.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.4084, allocations: 171.2 kB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.4086, allocations: 0.6885 MB / 415.3 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.4087, allocations: 7.984 kB / 415.3 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.4087, allocations: 15.44 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4087, allocations: 0 / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of Templates: time 0.003045/0.4118, allocations: 0.6214 MB / 416 MB, free: 10.37 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches