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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 200.5 kB / 18.11 MB, free: 3.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008554/0.0008552, allocations: 91.88 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002357/0.000236, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3083, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.428, allocations: 77.12 MB / 486.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.4283, allocations: 75.95 kB / 486.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003334/0.4317, allocations: 1.219 MB / 487.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4317, allocations: 2.969 kB / 487.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4317, allocations: 0 / 487.8 MB, free: 13.13 MB / 362.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.0004572/0.4322, allocations: 359.3 kB / 488.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4323, allocations: 11.97 kB / 488.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.4323, allocations: 8.844 kB / 488.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.4325, allocations: 193.7 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.4326, allocations: 1.812 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.4326, allocations: 4.375 kB / 488.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.4329, allocations: 122.5 kB / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4329, allocations: 192 / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.433, allocations: 7.938 kB / 488.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.433, allocations: 3.938 kB / 488.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.4331, allocations: 35.97 kB / 488.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.4336, allocations: 361.9 kB / 488.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.4337, allocations: 75.72 kB / 489 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.897e-05/0.4338, allocations: 34.62 kB / 489 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4338, allocations: 3.938 kB / 489 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4338, allocations: 38.56 kB / 489 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4338, allocations: 0 / 489 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003173/0.4342, allocations: 101.4 kB / 489.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.904e-05/0.4342, allocations: 102.8 kB / 489.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.4344, allocations: 148.4 kB / 489.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4344, allocations: 29.7 kB / 489.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.4345, allocations: 92.12 kB / 489.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.4345, allocations: 7.922 kB / 489.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.4345, allocations: 0 / 489.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4346, allocations: 318.8 kB / 489.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.4347, allocations: 11.98 kB / 489.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.4348, allocations: 43.42 kB / 489.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.4349, allocations: 59.3 kB / 489.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.4349, allocations: 4 kB / 489.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001468/0.4351, allocations: 73.52 kB / 490 MB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4351, allocations: 7.938 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4351, allocations: 4 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.4351, allocations: 0 / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.831e-05/0.4351, allocations: 0 / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.4351, allocations: 4 kB / 490 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.4352, allocations: 16.11 kB / 490 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4352, allocations: 4 kB / 490 MB, free: 10.6 MB / 362.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.0001143/0.4353, allocations: 121.8 kB / 490.2 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/0.4354, allocations: 53.53 kB / 490.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.4355, allocations: 15.86 kB / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4355, allocations: 0 / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4355, allocations: 0 / 490.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4355, allocations: 4 kB / 490.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.4358, allocations: 177.6 kB / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4358, allocations: 0 / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.4358, allocations: 0 / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.4358, allocations: 0 / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4358, allocations: 4 kB / 490.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4358, allocations: 3.984 kB / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.4359, allocations: 0 / 490.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.4361, allocations: 267.4 kB / 490.7 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.4362, allocations: 89.14 kB / 490.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4363, allocations: 8 kB / 490.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.295e-05/0.4364, allocations: 3.984 kB / 490.8 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.4364, allocations: 7.984 kB / 490.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4364, allocations: 0 / 490.8 MB, free: 9.746 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.789e-05/0.4365, allocations: 110.1 kB / 490.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4365, allocations: 0 / 490.9 MB, free: 9.641 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003058/0.4368, allocations: 8 kB / 490.9 MB, free: 9.633 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.0001628/0.437, allocations: 99.23 kB / 491 MB, free: 9.527 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001803/0.4372, allocations: 44.11 kB / 491 MB, free: 9.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4372, allocations: 4.062 kB / 491 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.764e-05/0.4373, allocations: 11.98 kB / 491 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.4377, allocations: 42.62 kB / 491.1 MB, free: 9.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.4382, allocations: 179.8 kB / 491.3 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4385, allocations: 0.6965 MB / 492 MB, free: 8.496 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.135e-05/0.4386, allocations: 7.984 kB / 492 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.4386, allocations: 11.44 kB / 492 MB, free: 8.477 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4386, allocations: 0 / 492 MB, free: 8.477 MB / 362.7 MB Notification: Performance of Templates: time 0.003003/0.4416, allocations: 0.547 MB / 492.5 MB, free: 7.949 MB / 362.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches