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.00107/0.00107, allocations: 99.02 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.7 MB / 246.4 MB, free: 9.789 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003042, allocations: 4 kB / 307.1 MB, free: 0.9141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 51.52 MB / 358.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.00185/0.1294, allocations: 1.235 MB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003616/0.1297, allocations: 159.6 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.1298, allocations: 0 / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.584e-05/0.1299, allocations: 3.938 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.13, allocations: 15.86 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1302, allocations: 23.97 kB / 360.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.865e-05/0.1303, allocations: 35.86 kB / 360.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1304, allocations: 23.97 kB / 360.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1305, allocations: 7.938 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.489e-05/0.1305, allocations: 19.86 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1305, allocations: 4 kB / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.1306, allocations: 0 / 360.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.1306, allocations: 11.92 kB / 360.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.1307, allocations: 33.7 kB / 360.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.445e-05/0.1307, allocations: 39.92 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1307, allocations: 0 / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1307, allocations: 0 / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1308, allocations: 4 kB / 360.2 MB, free: 11.77 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.0004233/0.1312, allocations: 379.2 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1312, allocations: 12.03 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.157e-05/0.1313, allocations: 7.906 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.1315, allocations: 185.5 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.1315, allocations: 8 kB / 360.8 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.1316, allocations: 7.891 kB / 360.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.1319, allocations: 129.8 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1319, allocations: 4 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1319, allocations: 0 / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.1319, allocations: 3.984 kB / 361 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.1321, allocations: 51.91 kB / 361 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1325, allocations: 373.9 kB / 361.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1327, allocations: 83.78 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.557e-05/0.1328, allocations: 54.55 kB / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.1328, allocations: 0 / 361.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.1329, allocations: 34.56 kB / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1329, allocations: 0 / 361.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003315/0.1332, allocations: 117.5 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.914e-05/0.1333, allocations: 114.8 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1334, allocations: 142.1 kB / 361.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1334, allocations: 29.69 kB / 361.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.1335, allocations: 88.14 kB / 362 MB, free: 9.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.1335, allocations: 7.984 kB / 362 MB, free: 9.719 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.1335, allocations: 0 / 362 MB, free: 9.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1337, allocations: 322.8 kB / 362.4 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.045e-05/0.1338, allocations: 19.98 kB / 362.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.1338, allocations: 47.42 kB / 362.4 MB, free: 9.316 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.1339, allocations: 23.98 kB / 362.4 MB, free: 9.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1339, allocations: 4 kB / 362.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001723/0.1341, allocations: 89.44 kB / 362.5 MB, free: 9.195 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1341, allocations: 8 kB / 362.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1341, allocations: 0 / 362.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1342, allocations: 0 / 362.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.1343, allocations: 16.12 kB / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1343, allocations: 0 / 362.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.466e-05/0.1343, allocations: 16.08 kB / 362.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1343, allocations: 0 / 362.6 MB, free: 9.156 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1345, allocations: 129.7 kB / 362.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.1346, allocations: 53.53 kB / 362.8 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.1346, allocations: 23.84 kB / 362.8 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.1347, allocations: 4 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1347, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.1347, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.1349, allocations: 173.6 kB / 363 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1349, allocations: 0 / 363 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.135, allocations: 15.92 kB / 363 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.135, allocations: 4 kB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.135, allocations: 0 / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.135, allocations: 4 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.135, allocations: 4 kB / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.1353, allocations: 275.5 kB / 363.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.1354, allocations: 101 kB / 363.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.1354, allocations: 0 / 363.3 MB, free: 8.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.1355, allocations: 7.984 kB / 363.4 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1356, allocations: 4 kB / 363.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1356, allocations: 0 / 363.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.619e-05/0.1357, allocations: 113.5 kB / 363.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1357, allocations: 0 / 363.5 MB, free: 8.156 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1359, allocations: 4 kB / 363.5 MB, free: 8.152 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 (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.0001332/0.1361, allocations: 107.2 kB / 363.6 MB, free: 8.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1363, allocations: 51.89 kB / 363.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1363, allocations: 0 / 363.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/0.1363, allocations: 24.25 kB / 363.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004208/0.1368, allocations: 38.84 kB / 363.7 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1372, allocations: 198.5 kB / 363.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1376, allocations: 0.6926 MB / 364.6 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.164e-05/0.1376, allocations: 7.984 kB / 364.6 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.037e-05/0.1376, allocations: 11.44 kB / 364.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1376, allocations: 0 / 364.6 MB, free: 6.957 MB / 302.1 MB Notification: Performance of Templates: time 0.002887/0.1405, allocations: 0.5366 MB / 365.1 MB, free: 6.434 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