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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 93.88 kB / 16.3 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 183.5 kB / 17.2 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 7.844 kB / 300.7 MB, free: 6.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 50.43 MB / 351.1 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001717/0.1325, allocations: 1.224 MB / 352.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.1329, allocations: 143.5 kB / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.133, allocations: 0 / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.943e-05/0.1331, allocations: 0 / 352.5 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.052e-05/0.1332, allocations: 15.91 kB / 352.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.1334, allocations: 35.91 kB / 352.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.238e-05/0.1335, allocations: 23.91 kB / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1336, allocations: 16 kB / 352.6 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.1337, allocations: 11.92 kB / 352.6 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.068e-05/0.1337, allocations: 11.94 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1337, allocations: 0 / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.1337, allocations: 4 kB / 352.6 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1338, allocations: 15.92 kB / 352.6 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.1338, allocations: 29.7 kB / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.195e-05/0.1339, allocations: 35.92 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1339, allocations: 4 kB / 352.7 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1339, allocations: 3.938 kB / 352.7 MB, free: 10.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.1339, allocations: 0 / 352.7 MB, free: 10.11 MB / 286.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.0004511/0.1344, allocations: 363.1 kB / 353.1 MB, free: 9.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1344, allocations: 8.031 kB / 353.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.1344, allocations: 15.86 kB / 353.1 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.1346, allocations: 190.8 kB / 353.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1347, allocations: 0 / 353.3 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1347, allocations: 15.98 kB / 353.3 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.135, allocations: 113.9 kB / 353.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.135, allocations: 0 / 353.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.135, allocations: 0 / 353.4 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.135, allocations: 7.984 kB / 353.4 MB, free: 9.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.1351, allocations: 39.88 kB / 353.4 MB, free: 9.266 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1355, allocations: 358 kB / 353.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1357, allocations: 87.78 kB / 353.9 MB, free: 8.746 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/0.1357, allocations: 3.938 kB / 353.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1357, allocations: 30.56 kB / 353.9 MB, free: 8.703 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1357, allocations: 4 kB / 353.9 MB, free: 8.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003654/0.1361, allocations: 178.6 kB / 354.1 MB, free: 8.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.1362, allocations: 110.8 kB / 354.2 MB, free: 8.367 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1363, allocations: 144.2 kB / 354.3 MB, free: 8.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1363, allocations: 29.7 kB / 354.4 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.1364, allocations: 88.05 kB / 354.5 MB, free: 8.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.14e-05/0.1364, allocations: 8 kB / 354.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.1364, allocations: 0 / 354.5 MB, free: 8.082 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1366, allocations: 318.8 kB / 354.8 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.846e-05/0.1366, allocations: 11.98 kB / 354.8 MB, free: 7.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.54e-05/0.1367, allocations: 39.44 kB / 354.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.1367, allocations: 19.98 kB / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.1368, allocations: 0 / 354.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.1369, allocations: 81.55 kB / 354.9 MB, free: 7.594 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.1369, allocations: 11.94 kB / 354.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1369, allocations: 0 / 354.9 MB, free: 7.582 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.137, allocations: 3.953 kB / 354.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.137, allocations: 4 kB / 354.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.137, allocations: 0 / 354.9 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.137, allocations: 7.984 kB / 355 MB, free: 7.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1371, allocations: 0 / 355 MB, free: 7.566 MB / 286.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.0001582/0.1372, allocations: 125.9 kB / 355.1 MB, free: 7.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.755e-05/0.1373, allocations: 57.53 kB / 355.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.1374, allocations: 15.8 kB / 355.1 MB, free: 7.352 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.1374, allocations: 4 kB / 355.2 MB, free: 7.348 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1374, allocations: 3.953 kB / 355.2 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1374, allocations: 0 / 355.2 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.1376, allocations: 177.6 kB / 355.3 MB, free: 7.121 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1376, allocations: 4 kB / 355.3 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.471e-06/0.1377, allocations: 0 / 355.3 MB, free: 7.117 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1377, allocations: 4 kB / 355.3 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.1377, allocations: 4.031 kB / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1377, allocations: 0 / 355.3 MB, free: 7.109 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1377, allocations: 4 kB / 355.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1379, allocations: 286.9 kB / 355.6 MB, free: 6.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.138, allocations: 93 kB / 355.7 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.138, allocations: 3.953 kB / 355.7 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.1381, allocations: 8 kB / 355.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1381, allocations: 0 / 355.7 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.1382, allocations: 11.92 kB / 355.7 MB, free: 6.66 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.1382, allocations: 105.8 kB / 355.8 MB, free: 6.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1382, allocations: 4 kB / 355.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.1385, allocations: 4 kB / 355.9 MB, free: 6.551 MB / 286.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.0001151/0.1386, allocations: 99.25 kB / 355.9 MB, free: 6.445 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1388, allocations: 43.91 kB / 356 MB, free: 6.402 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1388, allocations: 4 kB / 356 MB, free: 6.398 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.1389, allocations: 16.23 kB / 356 MB, free: 6.383 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1392, allocations: 20.02 kB / 356 MB, free: 6.363 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/0.1396, allocations: 190.5 kB / 356.2 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1399, allocations: 0.6965 MB / 356.9 MB, free: 5.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.924e-05/0.1399, allocations: 7.984 kB / 356.9 MB, free: 5.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1399, allocations: 11.44 kB / 356.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1399, allocations: 0 / 356.9 MB, free: 5.398 MB / 286.1 MB Notification: Performance of Templates: time 0.002803/0.1428, allocations: 0.5172 MB / 357.4 MB, free: 4.895 MB / 286.1 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