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.0009895/0.0009895, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.238/1.238, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008312, allocations: 95.55 kB / 286.5 MB, free: 252 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.008e-05/2.011e-05, allocations: 4 kB / 343.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08422, allocations: 50.41 MB / 394.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2705/0.3548, allocations: 76.33 MB / 470.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.355, allocations: 71.95 kB / 470.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003108/0.3581, allocations: 1.217 MB / 471.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3582, allocations: 3.938 kB / 471.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3582, allocations: 7.938 kB / 471.9 MB, free: 9.973 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.000309/0.3585, allocations: 347.1 kB / 472.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3585, allocations: 12.03 kB / 472.2 MB, free: 9.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3586, allocations: 11.86 kB / 472.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3588, allocations: 188.1 kB / 472.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.3588, allocations: 8 kB / 472.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.3588, allocations: 0 / 472.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.3591, allocations: 120.7 kB / 472.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3591, allocations: 0 / 472.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.3591, allocations: 0 / 472.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.3591, allocations: 4 kB / 472.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.3592, allocations: 31.88 kB / 472.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.3596, allocations: 350 kB / 472.9 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.3596, allocations: 71.84 kB / 473 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.3597, allocations: 23.73 kB / 473 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3597, allocations: 8 kB / 473 MB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.3598, allocations: 38.48 kB / 473.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3598, allocations: 0 / 473.1 MB, free: 8.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001862/0.3599, allocations: 69.48 kB / 473.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.36, allocations: 106.8 kB / 473.2 MB, free: 8.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3601, allocations: 126.7 kB / 473.4 MB, free: 8.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.3602, allocations: 29.7 kB / 473.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.3602, allocations: 92.03 kB / 473.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.516e-06/0.3602, allocations: 0 / 473.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.3602, allocations: 4 kB / 473.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3603, allocations: 314.8 kB / 473.8 MB, free: 7.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.3604, allocations: 4 kB / 473.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.3604, allocations: 35.42 kB / 473.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.3604, allocations: 15.94 kB / 473.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3604, allocations: 0 / 473.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.401e-05/0.3605, allocations: 61.53 kB / 473.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3606, allocations: 11.98 kB / 473.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3606, allocations: 0 / 473.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3606, allocations: 12.02 kB / 473.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.537e-05/0.3606, allocations: 4 kB / 473.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3606, allocations: 0 / 473.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.3607, allocations: 11.94 kB / 473.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3607, allocations: 4.094 kB / 473.9 MB, free: 7.621 MB / 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 () * 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 6.573e-05/0.3608, allocations: 106.5 kB / 474 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.3609, allocations: 57.58 kB / 474.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/0.3609, allocations: 11.64 kB / 474.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3609, allocations: 8.031 kB / 474.1 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3609, allocations: 3.953 kB / 474.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3609, allocations: 0 / 474.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3611, allocations: 169.7 kB / 474.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3611, allocations: 0 / 474.3 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-06/0.3612, allocations: 4 kB / 474.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3612, allocations: 0 / 474.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3612, allocations: 0.5625 kB / 474.3 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.3612, allocations: 4 kB / 474.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3612, allocations: 3.938 kB / 474.3 MB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.3614, allocations: 267 kB / 474.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3615, allocations: 93.09 kB / 474.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3615, allocations: 7.953 kB / 474.7 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.49e-05/0.3616, allocations: 8 kB / 474.7 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.3616, allocations: 3.984 kB / 474.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.3616, allocations: 4 kB / 474.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.746e-05/0.3617, allocations: 108.7 kB / 474.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3617, allocations: 0 / 474.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.362, allocations: 12 kB / 474.8 MB, free: 6.66 MB / 346.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 () * 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.0001225/0.3621, allocations: 103.2 kB / 474.9 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.718e-05/0.3622, allocations: 27.98 kB / 474.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3622, allocations: 0 / 474.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.3622, allocations: 11.94 kB / 474.9 MB, free: 6.508 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.3625, allocations: 20.02 kB / 475 MB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.3627, allocations: 118.4 kB / 475.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.363, allocations: 0.7063 MB / 475.8 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.759e-05/0.363, allocations: 8.172 kB / 475.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.3631, allocations: 15.38 kB / 475.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3631, allocations: 0 / 475.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of Templates: time 0.002299/0.3654, allocations: 0.5395 MB / 476.3 MB, free: 5.07 MB / 346.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