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.001161/0.001161, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 201.8 kB / 18.91 MB, free: 4.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.577/1.577, allocations: 227.4 MB / 247.1 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.06 kB / 307.1 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1198, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003756/0.1236, allocations: 1.578 MB / 359.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000484/0.1241, allocations: 147.5 kB / 359.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1243, allocations: 4 kB / 359.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1245, allocations: 7.938 kB / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.1246, allocations: 7.922 kB / 359.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.1249, allocations: 31.92 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1251, allocations: 47.83 kB / 359.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.1252, allocations: 19.98 kB / 359.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.1253, allocations: 15.92 kB / 359.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.1253, allocations: 23.86 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.461e-05/0.1254, allocations: 4 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.533e-05/0.1254, allocations: 4 kB / 359.5 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.275e-05/0.1255, allocations: 8 kB / 359.5 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.727e-05/0.1255, allocations: 35.73 kB / 359.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1256, allocations: 39.94 kB / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.1256, allocations: 0 / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1257, allocations: 0 / 359.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1257, allocations: 0 / 359.6 MB, free: 12.41 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.0005808/0.1263, allocations: 387.3 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1263, allocations: 8.031 kB / 360 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.1264, allocations: 12.84 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1266, allocations: 192.2 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.1266, allocations: 384 / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1266, allocations: 4.375 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003469/0.127, allocations: 134.4 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.127, allocations: 4.125 kB / 360.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.127, allocations: 3.938 kB / 360.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-05/0.1271, allocations: 7.984 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1272, allocations: 35.91 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005325/0.1277, allocations: 365.9 kB / 360.7 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.1279, allocations: 83.7 kB / 360.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.128, allocations: 42.62 kB / 360.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.128, allocations: 3.938 kB / 360.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1281, allocations: 30.56 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.1281, allocations: 0 / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003832/0.1284, allocations: 113.8 kB / 361 MB, free: 10.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.701e-05/0.1285, allocations: 110.7 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1287, allocations: 144.2 kB / 361.3 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1287, allocations: 29.7 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.1288, allocations: 92.05 kB / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.1288, allocations: 0 / 361.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.1289, allocations: 25.7 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.129, allocations: 318.9 kB / 361.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.1291, allocations: 11.98 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.421e-05/0.1292, allocations: 43.41 kB / 361.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1293, allocations: 63.34 kB / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.1293, allocations: 3.938 kB / 361.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001745/0.1295, allocations: 77.52 kB / 361.9 MB, free: 9.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1295, allocations: 11.12 kB / 361.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1295, allocations: 128 / 361.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1295, allocations: 4 kB / 361.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1297, allocations: 19.92 kB / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1297, allocations: 0 / 362 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.1297, allocations: 7.984 kB / 362 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1297, allocations: 0 / 362 MB, free: 9.77 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.0001735/0.1299, allocations: 125.8 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.225e-05/0.13, allocations: 49.59 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/0.1301, allocations: 23.8 kB / 362.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/0.1301, allocations: 7.984 kB / 362.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1301, allocations: 0 / 362.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1301, allocations: 0 / 362.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002456/0.1304, allocations: 173.6 kB / 362.3 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.1304, allocations: 4 kB / 362.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.1304, allocations: 15.86 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1304, allocations: 0 / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1305, allocations: 4 kB / 362.4 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1305, allocations: 4 kB / 362.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1305, allocations: 0 / 362.4 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1307, allocations: 267.5 kB / 362.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.1308, allocations: 97 kB / 362.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1308, allocations: 0 / 362.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.131, allocations: 12 kB / 362.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.131, allocations: 3.984 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.131, allocations: 7.938 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.047e-05/0.1311, allocations: 109.7 kB / 362.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1311, allocations: 0 / 362.8 MB, free: 8.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.1314, allocations: 8 kB / 362.9 MB, free: 8.77 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.0001259/0.1315, allocations: 107.2 kB / 363 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.1317, allocations: 47.91 kB / 363 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1317, allocations: 0 / 363 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/0.1318, allocations: 19.98 kB / 363 MB, free: 8.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.1323, allocations: 27.95 kB / 363.1 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.1327, allocations: 245.2 kB / 363.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.133, allocations: 0.6885 MB / 364 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.133, allocations: 11.44 kB / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1331, allocations: 0 / 364 MB, free: 7.559 MB / 302.1 MB Notification: Performance of Templates: time 0.002577/0.1356, allocations: 0.8268 MB / 364.8 MB, free: 6.738 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins1/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