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.001828/0.001828, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.002055/0.002056, allocations: 198.9 kB / 18.08 MB, free: 5.422 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.831/1.831, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 42.53 kB / 300.6 MB, free: 6.332 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1304, allocations: 49.46 MB / 350.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.005628/0.1361, allocations: 1.568 MB / 351.6 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006275/0.1368, allocations: 151.5 kB / 351.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.137, allocations: 0 / 351.8 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.1372, allocations: 11.92 kB / 351.8 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1375, allocations: 4 kB / 351.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1379, allocations: 35.91 kB / 351.8 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1381, allocations: 35.92 kB / 351.9 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1382, allocations: 19.98 kB / 351.9 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.1383, allocations: 15.88 kB / 351.9 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.095e-05/0.1384, allocations: 15.92 kB / 351.9 MB, free: 3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.1384, allocations: 4 kB / 351.9 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.695e-05/0.1385, allocations: 3.938 kB / 351.9 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1386, allocations: 19.91 kB / 351.9 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.1386, allocations: 23.81 kB / 352 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1388, allocations: 27.95 kB / 352 MB, free: 2.922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1388, allocations: 3.984 kB / 352 MB, free: 2.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1388, allocations: 0 / 352 MB, free: 2.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1388, allocations: 4 kB / 352 MB, free: 2.914 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.0007374/0.1396, allocations: 375.5 kB / 352.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.1397, allocations: 11.97 kB / 352.4 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1398, allocations: 8.844 kB / 352.4 MB, free: 2.477 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1401, allocations: 192.1 kB / 352.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.1401, allocations: 4.375 kB / 352.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.1402, allocations: 384 / 352.6 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.1406, allocations: 122.5 kB / 352.7 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1406, allocations: 192 / 352.7 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1407, allocations: 11.92 kB / 352.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.1407, allocations: 0 / 352.7 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1409, allocations: 27.92 kB / 352.7 MB, free: 2.066 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007025/0.1416, allocations: 373.8 kB / 353.1 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1418, allocations: 75.72 kB / 353.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.142, allocations: 38.62 kB / 353.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.142, allocations: 0 / 353.2 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.1421, allocations: 34.56 kB / 353.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.1421, allocations: 0 / 353.2 MB, free: 1.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005072/0.1426, allocations: 93.91 kB / 353.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1427, allocations: 114.7 kB / 353.5 MB, free: 1.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1429, allocations: 137.7 kB / 353.6 MB, free: 1.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1429, allocations: 25.7 kB / 353.6 MB, free: 1.043 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.143, allocations: 84.14 kB / 353.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1431, allocations: 15.89 kB / 353.7 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.171e-05/0.1431, allocations: 17.72 kB / 353.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1433, allocations: 318.9 kB / 354 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.1434, allocations: 11.98 kB / 354.1 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.1435, allocations: 39.42 kB / 354.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.1437, allocations: 59.3 kB / 354.1 MB, free: 476 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.1437, allocations: 0 / 354.1 MB, free: 476 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002459/0.144, allocations: 69.61 kB / 354.2 MB, free: 400 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.144, allocations: 6.5 kB / 354.2 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.144, allocations: 7.938 kB / 354.2 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1441, allocations: 0 / 354.2 MB, free: 388 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.343e-05/0.1441, allocations: 4 kB / 354.2 MB, free: 384 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1441, allocations: 8.109 kB / 354.2 MB, free: 376 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1442, allocations: 7.906 kB / 354.2 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.1442, allocations: 3.938 kB / 354.3 MB, free: 364 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000204/0.1445, allocations: 129.7 kB / 354.4 MB, free: 224 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1446, allocations: 45.7 kB / 354.4 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.215e-05/0.1447, allocations: 15.73 kB / 354.4 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.241e-05/0.1447, allocations: 4 kB / 354.4 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1447, allocations: 0 / 354.4 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.1448, allocations: 8.125 kB / 354.5 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004361/0.1452, allocations: 185.5 kB / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.1452, allocations: 0 / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.071e-05/0.1452, allocations: 0 / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1453, allocations: 0 / 354.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1453, allocations: 8 kB / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1453, allocations: 0 / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1453, allocations: 0 / 354.6 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.1457, allocations: 263.4 kB / 354.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.1458, allocations: 89.09 kB / 355 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1458, allocations: 4 kB / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.146, allocations: 0 / 355 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.861e-05/0.1461, allocations: 7.984 kB / 355 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.1461, allocations: 0 / 355 MB, free: 15.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1462, allocations: 107.2 kB / 355.1 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1463, allocations: 4 kB / 355.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005441/0.1468, allocations: 8 kB / 355.1 MB, free: 15.39 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.0001696/0.147, allocations: 107.2 kB / 355.2 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002453/0.1473, allocations: 31.92 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1473, allocations: 0 / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.855e-05/0.1474, allocations: 20.3 kB / 355.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007939/0.1482, allocations: 31.94 kB / 355.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006047/0.1488, allocations: 218.5 kB / 355.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.1492, allocations: 0.7006 MB / 356.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.1493, allocations: 11.44 kB / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1493, allocations: 0 / 356.2 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Templates: time 0.003607/0.1529, allocations: 0.7916 MB / 357 MB, free: 13.41 MB / 302.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/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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches