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.001113/0.001112, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 200 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 8 kB / 306.6 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1389, allocations: 51.49 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002151/0.1412, allocations: 1.227 MB / 359.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003934/0.1416, allocations: 143.5 kB / 359.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.1417, allocations: 3.938 kB / 359.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1418, allocations: 4 kB / 359.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.1419, allocations: 0 / 359.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1422, allocations: 43.83 kB / 359.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.1423, allocations: 27.91 kB / 359.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1425, allocations: 19.97 kB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.1425, allocations: 4 kB / 359.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.1426, allocations: 19.86 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1426, allocations: 0 / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.1426, allocations: 4 kB / 359.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.985e-05/0.1427, allocations: 7.984 kB / 359.6 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.318e-05/0.1427, allocations: 37.64 kB / 359.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.451e-05/0.1428, allocations: 39.92 kB / 359.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.1428, allocations: 0 / 359.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1428, allocations: 0 / 359.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1428, allocations: 0 / 359.6 MB, free: 12.55 MB / 302.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.000491/0.1433, allocations: 367.3 kB / 360 MB, free: 12.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.1434, allocations: 8.031 kB / 360 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.1434, allocations: 7.906 kB / 360 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.1436, allocations: 194.8 kB / 360.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1437, allocations: 4 kB / 360.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.1437, allocations: 11.95 kB / 360.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002972/0.144, allocations: 117.9 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.144, allocations: 0 / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.144, allocations: 0 / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.144, allocations: 4 kB / 360.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.032e-05/0.1441, allocations: 35.92 kB / 360.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1446, allocations: 369.9 kB / 360.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1447, allocations: 79.78 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1448, allocations: 0 / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.1448, allocations: 38.5 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.1448, allocations: 0 / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000333/0.1451, allocations: 178.7 kB / 361 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.1452, allocations: 102.8 kB / 361.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1453, allocations: 152.5 kB / 361.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1454, allocations: 25.7 kB / 361.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.805e-05/0.1454, allocations: 92.05 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.1455, allocations: 7.875 kB / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.1455, allocations: 0 / 361.4 MB, free: 10.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1456, allocations: 318.8 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.1456, allocations: 12 kB / 361.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.42e-05/0.1457, allocations: 43.36 kB / 361.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.1458, allocations: 19.98 kB / 361.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1458, allocations: 7.891 kB / 361.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000138/0.1459, allocations: 81.52 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1459, allocations: 8 kB / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1459, allocations: 0 / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.146, allocations: 0 / 361.9 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.488e-05/0.146, allocations: 7.938 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.146, allocations: 0 / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.146, allocations: 4 kB / 361.9 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1461, allocations: 4 kB / 361.9 MB, free: 9.992 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.1462, allocations: 122 kB / 362 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.1463, allocations: 57.55 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.1464, allocations: 11.83 kB / 362.1 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.1464, allocations: 4 kB / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1464, allocations: 3.984 kB / 362.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1464, allocations: 0 / 362.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1466, allocations: 173.6 kB / 362.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1466, allocations: 4 kB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-06/0.1466, allocations: 11.89 kB / 362.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1467, allocations: 4.125 kB / 362.3 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1467, allocations: 4 kB / 362.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1467, allocations: 0 / 362.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1467, allocations: 7.984 kB / 362.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002472/0.1469, allocations: 283 kB / 362.6 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.749e-05/0.147, allocations: 93 kB / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.147, allocations: 0 / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1471, allocations: 4 kB / 362.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.1472, allocations: 4 kB / 362.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1472, allocations: 7.938 kB / 362.7 MB, free: 9.094 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.688e-05/0.1473, allocations: 107.2 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1473, allocations: 4 kB / 362.8 MB, free: 8.984 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1475, allocations: 4 kB / 362.8 MB, free: 8.98 MB / 302.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 (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.0001293/0.1477, allocations: 99.25 kB / 362.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1479, allocations: 39.91 kB / 362.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1479, allocations: 4.25 kB / 362.9 MB, free: 8.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.782e-05/0.1479, allocations: 16 kB / 362.9 MB, free: 8.816 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1483, allocations: 35.84 kB / 363 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.1487, allocations: 190.7 kB / 363.2 MB, free: 8.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.149, allocations: 0.6965 MB / 363.9 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.254e-05/0.1491, allocations: 7.984 kB / 363.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.1491, allocations: 11.44 kB / 363.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1491, allocations: 0 / 363.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of Templates: time 0.002702/0.1518, allocations: 0.519 MB / 364.4 MB, free: 7.309 MB / 302.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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches