Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008829/0.0008832, allocations: 97.11 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009715/0.0009718, allocations: 206.6 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.7 MB / 246.8 MB, free: 9.734 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003094/0.0003094, allocations: 8 kB / 307.7 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 51.53 MB / 359.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002671/0.132, allocations: 1.246 MB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003749/0.1324, allocations: 143.6 kB / 360.7 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.1325, allocations: 7.938 kB / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.421e-05/0.1326, allocations: 0 / 360.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.1327, allocations: 7.922 kB / 360.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1329, allocations: 39.03 kB / 360.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.291e-05/0.133, allocations: 39.86 kB / 360.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1332, allocations: 27.95 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.1332, allocations: 7.938 kB / 360.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.1333, allocations: 27.8 kB / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.1333, allocations: 0 / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.1333, allocations: 0 / 360.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.396e-05/0.1334, allocations: 8 kB / 360.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1334, allocations: 57.44 kB / 360.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.1335, allocations: 47.8 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1335, allocations: 4 kB / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1335, allocations: 0 / 360.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1335, allocations: 3.938 kB / 360.9 MB, free: 11.38 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.000526/0.1341, allocations: 371.4 kB / 361.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1341, allocations: 16.02 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.626e-05/0.1342, allocations: 8.844 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1344, allocations: 184.9 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1344, allocations: 8.375 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.1344, allocations: 4.359 kB / 361.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.1347, allocations: 130.4 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1347, allocations: 192 / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1348, allocations: 11.88 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.1348, allocations: 4 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.1349, allocations: 39.97 kB / 361.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000483/0.1354, allocations: 373.8 kB / 362.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1356, allocations: 95.7 kB / 362.2 MB, free: 9.969 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.531e-05/0.1357, allocations: 34.62 kB / 362.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1357, allocations: 8 kB / 362.2 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1357, allocations: 30.56 kB / 362.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1357, allocations: 4 kB / 362.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003949/0.1361, allocations: 121.4 kB / 362.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.1362, allocations: 107.2 kB / 362.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1363, allocations: 148 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1364, allocations: 25.7 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.95e-05/0.1364, allocations: 92.05 kB / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.1364, allocations: 0 / 362.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.1365, allocations: 13.72 kB / 362.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1366, allocations: 322.8 kB / 363 MB, free: 9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.1367, allocations: 23.92 kB / 363.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.1368, allocations: 43.42 kB / 363.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.137, allocations: 71.34 kB / 363.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.137, allocations: 3.938 kB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002294/0.1372, allocations: 101.4 kB / 363.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1372, allocations: 4 kB / 363.3 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.1373, allocations: 4 kB / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.1373, allocations: 0 / 363.3 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1374, allocations: 11.98 kB / 363.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1374, allocations: 4 kB / 363.3 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.033e-05/0.1375, allocations: 8.125 kB / 363.3 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.1375, allocations: 8 kB / 363.3 MB, free: 8.691 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.0001413/0.1376, allocations: 133.7 kB / 363.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.1377, allocations: 57.52 kB / 363.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.1378, allocations: 11.83 kB / 363.5 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.1378, allocations: 4 kB / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1378, allocations: 0 / 363.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1378, allocations: 4.094 kB / 363.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.138, allocations: 181.6 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1381, allocations: 4.031 kB / 363.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.1381, allocations: 8 kB / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1381, allocations: 0 / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1381, allocations: 0 / 363.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.1381, allocations: 4 kB / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1381, allocations: 0 / 363.7 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1384, allocations: 283.4 kB / 364 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1385, allocations: 93 kB / 364.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1385, allocations: 4 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.1386, allocations: 4 kB / 364.1 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.1387, allocations: 4 kB / 364.1 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1387, allocations: 4 kB / 364.1 MB, free: 7.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.1387, allocations: 110 kB / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1387, allocations: 0 / 364.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.139, allocations: 8 kB / 364.2 MB, free: 7.688 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.0001086/0.1391, allocations: 103.2 kB / 364.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1393, allocations: 59.91 kB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1393, allocations: 3.938 kB / 364.4 MB, free: 7.516 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.1394, allocations: 19.98 kB / 364.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.1398, allocations: 33.64 kB / 364.4 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.1402, allocations: 198.4 kB / 364.6 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1405, allocations: 0.6965 MB / 365.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.668e-05/0.1405, allocations: 11.98 kB / 365.3 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.1405, allocations: 11.44 kB / 365.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1405, allocations: 0 / 365.3 MB, free: 6.484 MB / 302.1 MB Notification: Performance of Templates: time 0.002646/0.1432, allocations: 0.5518 MB / 365.9 MB, free: 5.945 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches