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.0009106/0.0009106, allocations: 96.34 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 207.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.7 MB / 247.5 MB, free: 11.12 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002446, allocations: 4 kB / 308.4 MB, free: 0.7852 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.106, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002069/0.1082, allocations: 1.25 MB / 361.2 MB, free: 12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.1086, allocations: 147.5 kB / 361.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.1087, allocations: 0 / 361.3 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.033e-05/0.1088, allocations: 7.938 kB / 361.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.1089, allocations: 7.922 kB / 361.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.1092, allocations: 39.91 kB / 361.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1093, allocations: 39.86 kB / 361.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1095, allocations: 15.98 kB / 361.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.587e-05/0.1095, allocations: 15.91 kB / 361.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.1096, allocations: 15.92 kB / 361.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.1096, allocations: 7.938 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.1096, allocations: 4 kB / 361.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.462e-05/0.1097, allocations: 4 kB / 361.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1097, allocations: 53.45 kB / 361.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.039e-05/0.1098, allocations: 39.86 kB / 361.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1098, allocations: 0 / 361.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1098, allocations: 3.938 kB / 361.6 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1098, allocations: 0 / 361.6 MB, free: 11.6 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.0004589/0.1103, allocations: 375.5 kB / 361.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.1104, allocations: 16.03 kB / 361.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.1104, allocations: 8.844 kB / 361.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002074/0.1106, allocations: 188.2 kB / 362.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1107, allocations: 4.375 kB / 362.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.1107, allocations: 384 / 362.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.111, allocations: 134.4 kB / 362.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.111, allocations: 192 / 362.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.111, allocations: 7.938 kB / 362.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.97e-05/0.1111, allocations: 4 kB / 362.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.1112, allocations: 47.84 kB / 362.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1117, allocations: 377.8 kB / 362.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.1119, allocations: 83.78 kB / 362.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.112, allocations: 46.56 kB / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.112, allocations: 0 / 362.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.112, allocations: 38.55 kB / 362.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.112, allocations: 0 / 362.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003774/0.1124, allocations: 121.8 kB / 363 MB, free: 9.961 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1125, allocations: 110.7 kB / 363.1 MB, free: 9.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1126, allocations: 140.2 kB / 363.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1126, allocations: 25.7 kB / 363.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.1127, allocations: 100 kB / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.1127, allocations: 0 / 363.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.1127, allocations: 13.72 kB / 363.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1129, allocations: 322.9 kB / 363.7 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.1129, allocations: 19.98 kB / 363.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.113, allocations: 39.42 kB / 363.7 MB, free: 9.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.1132, allocations: 71.34 kB / 363.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.1132, allocations: 7.938 kB / 363.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001949/0.1134, allocations: 93.5 kB / 363.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1134, allocations: 4 kB / 363.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1134, allocations: 4 kB / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1134, allocations: 0 / 363.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.429e-05/0.1135, allocations: 24.06 kB / 363.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.1136, allocations: 0 / 363.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1136, allocations: 7.984 kB / 363.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1136, allocations: 7.938 kB / 364 MB, free: 8.902 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.0001206/0.1138, allocations: 125.8 kB / 364.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.1139, allocations: 49.61 kB / 364.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1139, allocations: 11.81 kB / 364.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.1139, allocations: 8.031 kB / 364.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.114, allocations: 0 / 364.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.114, allocations: 7.938 kB / 364.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1142, allocations: 185.5 kB / 364.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1142, allocations: 0 / 364.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.1143, allocations: 11.98 kB / 364.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1143, allocations: 0 / 364.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.1143, allocations: 4 kB / 364.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1143, allocations: 0 / 364.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1143, allocations: 0 / 364.3 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.1146, allocations: 275.5 kB / 364.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.1147, allocations: 89 kB / 364.7 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1147, allocations: 8 kB / 364.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.1148, allocations: 11.92 kB / 364.7 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1148, allocations: 4 kB / 364.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.1149, allocations: 144 / 364.7 MB, free: 8.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.293e-05/0.1149, allocations: 113.5 kB / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1149, allocations: 0 / 364.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1152, allocations: 8 kB / 364.8 MB, free: 7.902 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.0001212/0.1153, allocations: 107.2 kB / 364.9 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.1155, allocations: 51.89 kB / 365 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1155, allocations: 0 / 365 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.291e-05/0.1156, allocations: 28.23 kB / 365 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1161, allocations: 31.52 kB / 365.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.1165, allocations: 236.2 kB / 365.3 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.1168, allocations: 0.6965 MB / 366 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.1168, allocations: 11.44 kB / 366 MB, free: 6.672 MB / 302.1 MB Notification: Performance of SimCode: time 2.334e-06/0.1168, allocations: 0 / 366 MB, free: 6.672 MB / 302.1 MB Notification: Performance of Templates: time 0.002622/0.1194, allocations: 0.8117 MB / 366.8 MB, free: 5.863 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