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.001108/0.001108, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 55.66 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1278, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003788/0.1316, allocations: 1.532 MB / 360.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004926/0.1322, allocations: 143.5 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1323, allocations: 0 / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1324, allocations: 3.938 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1326, allocations: 7.938 kB / 360.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000298/0.1329, allocations: 39.89 kB / 360.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.133, allocations: 39.8 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1332, allocations: 31.95 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.22e-05/0.1332, allocations: 11.92 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.1333, allocations: 15.94 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1333, allocations: 4 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.281e-05/0.1333, allocations: 0 / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.068e-05/0.1334, allocations: 19.92 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.138e-05/0.1335, allocations: 19.81 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.1337, allocations: 63.73 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.1337, allocations: 4 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1337, allocations: 0 / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.1337, allocations: 0 / 360.8 MB, free: 11.43 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.0006071/0.1343, allocations: 375.2 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.1344, allocations: 8.031 kB / 361.2 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.1344, allocations: 8.844 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1347, allocations: 196.1 kB / 361.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1348, allocations: 8.375 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1348, allocations: 4.375 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003415/0.1351, allocations: 114.5 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1352, allocations: 192 / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1352, allocations: 7.875 kB / 361.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.1352, allocations: 12 kB / 361.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.1353, allocations: 31.91 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1358, allocations: 353.8 kB / 361.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.136, allocations: 91.7 kB / 362 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.1361, allocations: 26.64 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.1361, allocations: 7.984 kB / 362 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.1361, allocations: 42.42 kB / 362.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1361, allocations: 4 kB / 362.1 MB, free: 9.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000322/0.1365, allocations: 89.52 kB / 362.2 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/0.1365, allocations: 102.8 kB / 362.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1367, allocations: 144.6 kB / 362.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1367, allocations: 25.7 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.1368, allocations: 88.52 kB / 362.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1368, allocations: 11.89 kB / 362.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.1368, allocations: 25.7 kB / 362.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1369, allocations: 318.8 kB / 362.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.137, allocations: 11.98 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.217e-05/0.137, allocations: 39.42 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.597e-05/0.1372, allocations: 55.3 kB / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1372, allocations: 0 / 363 MB, free: 8.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001348/0.1373, allocations: 77.52 kB / 363.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1373, allocations: 4.125 kB / 363.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1373, allocations: 4 kB / 363.1 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1374, allocations: 4 kB / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.1374, allocations: 0 / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1374, allocations: 0 / 363.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.1374, allocations: 7.984 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.1375, allocations: 4 kB / 363.1 MB, free: 8.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.1376, allocations: 129.7 kB / 363.2 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.444e-05/0.1377, allocations: 45.59 kB / 363.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.1377, allocations: 19.86 kB / 363.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.1377, allocations: 7.984 kB / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1377, allocations: 0 / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1377, allocations: 0 / 363.3 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.138, allocations: 173.6 kB / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.138, allocations: 0 / 363.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.801e-06/0.138, allocations: 4 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.138, allocations: 0 / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.138, allocations: 0 / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.138, allocations: 4 kB / 363.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.138, allocations: 7.938 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1383, allocations: 263.4 kB / 363.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.1383, allocations: 89.03 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.1384, allocations: 0 / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.1385, allocations: 8 kB / 363.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1385, allocations: 4 kB / 363.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.1385, allocations: 4 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.471e-05/0.1386, allocations: 111.2 kB / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1386, allocations: 0 / 363.9 MB, free: 7.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1389, allocations: 4 kB / 363.9 MB, free: 7.898 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 (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.0001136/0.139, allocations: 103.2 kB / 364 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.1392, allocations: 47.91 kB / 364.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1392, allocations: 0 / 364.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.1392, allocations: 8 kB / 364.1 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1397, allocations: 34.17 kB / 364.1 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.14, allocations: 175.1 kB / 364.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1404, allocations: 0.7006 MB / 365 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.593e-05/0.1404, allocations: 11.98 kB / 365 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.1404, allocations: 7.438 kB / 365 MB, free: 6.758 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1404, allocations: 0 / 365 MB, free: 6.758 MB / 302.1 MB Notification: Performance of Templates: time 0.003371/0.1438, allocations: 0.615 MB / 365.6 MB, free: 6.156 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 -s gbode -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","/var/lib/jenkins1/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