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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 180.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000876/0.0008758, allocations: 91.98 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002364/0.0002363, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.314, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1089/0.423, allocations: 76.39 MB / 477.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000424/0.4235, allocations: 79.95 kB / 478 MB, free: 4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003273/0.4268, allocations: 1.211 MB / 479.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4268, allocations: 0 / 479.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.4268, allocations: 6.938 kB / 479.2 MB, free: 2.789 MB / 346.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.0004129/0.4272, allocations: 359.2 kB / 479.5 MB, free: 2.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4273, allocations: 11.97 kB / 479.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.4274, allocations: 11.86 kB / 479.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.4276, allocations: 195.2 kB / 479.8 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4277, allocations: 7.531 kB / 479.8 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4277, allocations: 4 kB / 479.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.428, allocations: 117.8 kB / 479.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.428, allocations: 1.469 kB / 479.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.428, allocations: 0 / 479.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4281, allocations: 4 kB / 479.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.4282, allocations: 40.7 kB / 479.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.4286, allocations: 362 kB / 480.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.4288, allocations: 71.78 kB / 480.3 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.4288, allocations: 8 kB / 480.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.4288, allocations: 34.56 kB / 480.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4288, allocations: 0 / 480.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003134/0.4292, allocations: 105.6 kB / 480.5 MB, free: 1.285 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.4293, allocations: 106.8 kB / 480.6 MB, free: 1.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4294, allocations: 129.1 kB / 480.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4294, allocations: 25.7 kB / 480.7 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.77e-05/0.4295, allocations: 92.08 kB / 480.8 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.4295, allocations: 7.891 kB / 480.8 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4295, allocations: 4.188 kB / 480.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4297, allocations: 318.8 kB / 481.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.4297, allocations: 11.98 kB / 481.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.4298, allocations: 35.42 kB / 481.2 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.602e-05/0.4299, allocations: 20 kB / 481.2 MB, free: 496 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4299, allocations: 0 / 481.2 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001399/0.43, allocations: 77.55 kB / 481.3 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.43, allocations: 8 kB / 481.3 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.43, allocations: 0 / 481.3 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.4301, allocations: 4.125 kB / 481.3 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.4301, allocations: 7.953 kB / 481.3 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.4301, allocations: 3.984 kB / 481.3 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.4302, allocations: 4 kB / 481.3 MB, free: 384 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4302, allocations: 4 kB / 481.3 MB, free: 380 kB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.4303, allocations: 117.8 kB / 481.4 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.4304, allocations: 57.48 kB / 481.5 MB, free: 188 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.441e-05/0.4304, allocations: 15.89 kB / 481.5 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4304, allocations: 4 kB / 481.5 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4305, allocations: 4.047 kB / 481.5 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4305, allocations: 3.984 kB / 481.5 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.4307, allocations: 173.6 kB / 481.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4307, allocations: 0 / 481.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.128e-05/0.4307, allocations: 7.984 kB / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4307, allocations: 0 / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.4308, allocations: 0 / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4308, allocations: 4 kB / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4308, allocations: 0 / 481.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.431, allocations: 286.9 kB / 482 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.4311, allocations: 89 kB / 482.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4311, allocations: 7.953 kB / 482.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.4312, allocations: 8 kB / 482.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.4313, allocations: 7.984 kB / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4313, allocations: 0 / 482.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.227e-05/0.4314, allocations: 105.6 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4314, allocations: 3.938 kB / 482.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.4317, allocations: 4 kB / 482.2 MB, free: 15.38 MB / 362.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001133/0.4318, allocations: 110.9 kB / 482.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.4319, allocations: 43.92 kB / 482.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.432, allocations: 0 / 482.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.624e-05/0.432, allocations: 11.98 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.4323, allocations: 31.19 kB / 482.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.4328, allocations: 194.4 kB / 482.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.4331, allocations: 0.6926 MB / 483.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.4332, allocations: 12.17 kB / 483.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.4332, allocations: 11.44 kB / 483.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4332, allocations: 0 / 483.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Templates: time 0.002666/0.4359, allocations: 0.5266 MB / 483.8 MB, free: 13.7 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches