Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 90.86 kB / 16.65 MB, free: 6.59 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.001167/0.001167, allocations: 182 kB / 17.56 MB, free: 6.203 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.528/1.528, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 7.938 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1351, allocations: 50.41 MB / 351.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002397/0.1376, allocations: 1.241 MB / 353.1 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004797/0.1381, allocations: 147.5 kB / 353.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.277e-05/0.1382, allocations: 4 kB / 353.2 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.1383, allocations: 11.92 kB / 353.2 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1385, allocations: 7.984 kB / 353.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.1388, allocations: 45.97 kB / 353.3 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.1389, allocations: 35.86 kB / 353.3 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.139, allocations: 15.98 kB / 353.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.1391, allocations: 19.88 kB / 353.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1392, allocations: 11.92 kB / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/0.1392, allocations: 0 / 353.4 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.1392, allocations: 4 kB / 353.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.219e-05/0.1393, allocations: 15.92 kB / 353.4 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.885e-05/0.1394, allocations: 49.5 kB / 353.4 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1395, allocations: 47.75 kB / 353.5 MB, free: 2.059 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1396, allocations: 4 kB / 353.5 MB, free: 2.055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1396, allocations: 0 / 353.5 MB, free: 2.055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.1396, allocations: 0 / 353.5 MB, free: 2.055 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.0006862/0.1403, allocations: 379.5 kB / 353.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.1403, allocations: 8.031 kB / 353.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.1404, allocations: 8.844 kB / 353.9 MB, free: 1.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.1407, allocations: 206.8 kB / 354.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1407, allocations: 4.312 kB / 354.1 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.1408, allocations: 4.375 kB / 354.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.1412, allocations: 122.5 kB / 354.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1412, allocations: 192 / 354.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.1413, allocations: 7.938 kB / 354.2 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/0.1413, allocations: 4 kB / 354.2 MB, free: 1.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001728/0.1415, allocations: 43.97 kB / 354.3 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00064/0.1421, allocations: 373.8 kB / 354.6 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.1424, allocations: 91.7 kB / 354.7 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1425, allocations: 42.62 kB / 354.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.1425, allocations: 0 / 354.7 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1426, allocations: 34.56 kB / 354.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.1426, allocations: 0 / 354.8 MB, free: 0.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005254/0.1431, allocations: 129.6 kB / 354.9 MB, free: 420 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.1433, allocations: 110.8 kB / 355 MB, free: 284 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.1435, allocations: 137.8 kB / 355.1 MB, free: 136 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1435, allocations: 25.7 kB / 355.2 MB, free: 104 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.1436, allocations: 100.2 kB / 355.3 MB, free: 0 / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.1436, allocations: 4.047 kB / 355.3 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1437, allocations: 13.72 kB / 355.3 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.1439, allocations: 314.8 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.144, allocations: 23.98 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1442, allocations: 43.41 kB / 355.7 MB, free: 15.58 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1443, allocations: 75.34 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1444, allocations: 3.938 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002947/0.1447, allocations: 89.45 kB / 355.8 MB, free: 15.4 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.1447, allocations: 8 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.1447, allocations: 4.125 kB / 355.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1448, allocations: 3.938 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1449, allocations: 15.98 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1449, allocations: 0 / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.664e-05/0.145, allocations: 12.08 kB / 355.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.145, allocations: 0 / 355.9 MB, free: 15.36 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[2],sample1.u[1],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.000196/0.1452, allocations: 133.7 kB / 356 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.1454, allocations: 65.52 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.997e-05/0.1455, allocations: 7.875 kB / 356.1 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.1455, allocations: 7.984 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.1455, allocations: 0 / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.1455, allocations: 0 / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1458, allocations: 177.6 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1459, allocations: 0 / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.888e-05/0.1459, allocations: 11.98 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.146, allocations: 4 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.146, allocations: 4.031 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.146, allocations: 0 / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.146, allocations: 0 / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.1464, allocations: 279.4 kB / 356.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/0.1465, allocations: 93 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.1465, allocations: 4 kB / 356.6 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.1467, allocations: 4 kB / 356.6 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.1468, allocations: 7.984 kB / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1468, allocations: 0 / 356.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1469, allocations: 117.8 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.147, allocations: 4 kB / 356.8 MB, free: 14.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004179/0.1474, allocations: 4 kB / 356.8 MB, free: 14.34 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[2],sample1.u[1],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.000133/0.1475, allocations: 106.6 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002853/0.1478, allocations: 60.03 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1478, allocations: 0 / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.148, allocations: 27.92 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.1487, allocations: 23.95 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.1491, allocations: 214.5 kB / 357.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.1496, allocations: 0.6926 MB / 357.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.1497, allocations: 8 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1497, allocations: 7.438 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1497, allocations: 0 / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Templates: time 0.00375/0.1535, allocations: 0.5422 MB / 358.4 MB, free: 12.62 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches