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.001125/0.001125, allocations: 95.77 kB / 16.3 MB, free: 6.461 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.001267/0.001267, allocations: 183 kB / 17.19 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.514/1.514, allocations: 223.2 MB / 241.1 MB, free: 5.441 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003005, allocations: 5.844 kB / 300.7 MB, free: 5.949 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 50.43 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001915/0.1301, allocations: 1.224 MB / 352.4 MB, free: 10.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.1305, allocations: 139.5 kB / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1306, allocations: 4 kB / 352.5 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.203e-05/0.1307, allocations: 11.92 kB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.96e-05/0.1308, allocations: 4 kB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.131, allocations: 38.34 kB / 352.6 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.1311, allocations: 27.97 kB / 352.6 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1312, allocations: 16.25 kB / 352.6 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.098e-05/0.1313, allocations: 7.938 kB / 352.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.1314, allocations: 23.86 kB / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.1314, allocations: 0 / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.1314, allocations: 0 / 352.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.873e-05/0.1314, allocations: 12 kB / 352.6 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.647e-05/0.1315, allocations: 33.64 kB / 352.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.122e-05/0.1316, allocations: 43.86 kB / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.1316, allocations: 0 / 352.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1316, allocations: 3.984 kB / 352.7 MB, free: 10.15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1316, allocations: 0 / 352.7 MB, free: 10.15 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.0005831/0.1322, allocations: 371.1 kB / 353.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.1322, allocations: 12.03 kB / 353.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1323, allocations: 11.86 kB / 353.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1325, allocations: 194.8 kB / 353.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1326, allocations: 4 kB / 353.3 MB, free: 9.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1326, allocations: 4 kB / 353.3 MB, free: 9.48 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1329, allocations: 133.8 kB / 353.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1329, allocations: 0 / 353.4 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.133, allocations: 3.953 kB / 353.4 MB, free: 9.324 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.133, allocations: 4 kB / 353.5 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1331, allocations: 47.89 kB / 353.5 MB, free: 9.273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.1336, allocations: 366 kB / 353.9 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.1338, allocations: 91.78 kB / 353.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.1338, allocations: 3.953 kB / 353.9 MB, free: 8.738 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1338, allocations: 38.56 kB / 354 MB, free: 8.691 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1338, allocations: 0 / 354 MB, free: 8.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004104/0.1342, allocations: 202.6 kB / 354.2 MB, free: 8.469 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/0.1343, allocations: 107.2 kB / 354.3 MB, free: 8.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.1345, allocations: 140.4 kB / 354.4 MB, free: 8.195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1345, allocations: 29.7 kB / 354.5 MB, free: 8.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1346, allocations: 96.03 kB / 354.5 MB, free: 8.062 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.148e-05/0.1346, allocations: 4 kB / 354.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1346, allocations: 0 / 354.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1347, allocations: 314.8 kB / 354.9 MB, free: 7.742 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.1348, allocations: 15.98 kB / 354.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.1349, allocations: 55.34 kB / 354.9 MB, free: 7.66 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.428e-05/0.1349, allocations: 27.98 kB / 355 MB, free: 7.633 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.135, allocations: 0 / 355 MB, free: 7.633 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001704/0.1351, allocations: 85.47 kB / 355 MB, free: 7.543 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1352, allocations: 14.33 kB / 355.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1352, allocations: 0 / 355.1 MB, free: 7.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1352, allocations: 4.125 kB / 355.1 MB, free: 7.527 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/0.1353, allocations: 16 kB / 355.1 MB, free: 7.512 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1353, allocations: 7.875 kB / 355.1 MB, free: 7.504 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.635e-05/0.1354, allocations: 11.98 kB / 355.1 MB, free: 7.492 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1354, allocations: 0 / 355.1 MB, free: 7.492 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[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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.1355, allocations: 129.8 kB / 355.2 MB, free: 7.355 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1356, allocations: 53.56 kB / 355.3 MB, free: 7.297 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.1357, allocations: 15.86 kB / 355.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.1357, allocations: 4 kB / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1357, allocations: 96 / 355.3 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.1357, allocations: 3.984 kB / 355.3 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.136, allocations: 173.6 kB / 355.5 MB, free: 7.051 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.136, allocations: 4 kB / 355.5 MB, free: 7.047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.136, allocations: 11.98 kB / 355.5 MB, free: 7.035 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.136, allocations: 7.953 kB / 355.5 MB, free: 7.027 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1361, allocations: 11.88 kB / 355.5 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1361, allocations: 4.031 kB / 355.5 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1361, allocations: 4 kB / 355.5 MB, free: 7.008 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1364, allocations: 295 kB / 355.8 MB, free: 6.688 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.1364, allocations: 89 kB / 355.9 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.1365, allocations: 0 / 355.9 MB, free: 6.582 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.1366, allocations: 15.98 kB / 355.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1366, allocations: 0 / 355.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.1366, allocations: 0 / 355.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.1367, allocations: 115.2 kB / 356 MB, free: 6.453 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1367, allocations: 3.938 kB / 356 MB, free: 6.449 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.137, allocations: 4 kB / 356 MB, free: 6.445 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[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 (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.0001206/0.1371, allocations: 99.25 kB / 356.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001932/0.1373, allocations: 60.03 kB / 356.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1373, allocations: 0 / 356.2 MB, free: 6.281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.1374, allocations: 15.98 kB / 356.2 MB, free: 6.266 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.1377, allocations: 29.69 kB / 356.2 MB, free: 6.238 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003363/0.138, allocations: 210.4 kB / 356.4 MB, free: 5.996 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1383, allocations: 0.6965 MB / 357.1 MB, free: 5.273 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.558e-05/0.1384, allocations: 8 kB / 357.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.1384, allocations: 7.438 kB / 357.1 MB, free: 5.258 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1384, allocations: 4 kB / 357.1 MB, free: 5.254 MB / 286.1 MB Notification: Performance of Templates: time 0.002854/0.1413, allocations: 0.5227 MB / 357.7 MB, free: 4.742 MB / 286.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches