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.001634/0.001641, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001808/0.001808, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.268/2.268, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3929, allocations: 50.55 MB / 409.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.002877/0.3958, allocations: 1.538 MB / 411.5 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004454/0.3963, allocations: 143.7 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.969e-05/0.3964, allocations: 3.938 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.3965, allocations: 11.92 kB / 411.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.747e-05/0.3966, allocations: 7.938 kB / 411.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.3969, allocations: 35.89 kB / 411.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.397, allocations: 43.69 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3971, allocations: 19.97 kB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.3972, allocations: 15.94 kB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.583e-05/0.3972, allocations: 19.86 kB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3973, allocations: 8 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.127e-05/0.3973, allocations: 4 kB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.268e-05/0.3973, allocations: 15.92 kB / 411.8 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.25e-05/0.3974, allocations: 23.81 kB / 411.8 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.3975, allocations: 59.73 kB / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3975, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3975, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3976, allocations: 0 / 411.9 MB, free: 15.68 MB / 334.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.0005159/0.3981, allocations: 380.3 kB / 412.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3981, allocations: 16.03 kB / 412.3 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.3982, allocations: 8.844 kB / 412.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.3984, allocations: 198.5 kB / 412.5 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3985, allocations: 4.359 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.3985, allocations: 8.375 kB / 412.5 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3988, allocations: 118.5 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3988, allocations: 192 / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3989, allocations: 3.938 kB / 412.6 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.485e-05/0.3989, allocations: 4 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.399, allocations: 35.91 kB / 412.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.3995, allocations: 373.9 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.3997, allocations: 83.72 kB / 413.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.51e-05/0.3998, allocations: 42.62 kB / 413.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3998, allocations: 7.875 kB / 413.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3998, allocations: 34.56 kB / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.3998, allocations: 0 / 413.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003693/0.4002, allocations: 109.8 kB / 413.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/0.4003, allocations: 102.8 kB / 413.4 MB, free: 13.94 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4004, allocations: 153.7 kB / 413.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.4004, allocations: 25.7 kB / 413.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.4005, allocations: 84.14 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.4005, allocations: 11.89 kB / 413.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.4006, allocations: 17.72 kB / 413.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.4007, allocations: 322.9 kB / 414 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.4008, allocations: 19.97 kB / 414 MB, free: 13.29 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/0.4009, allocations: 35.42 kB / 414 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.401, allocations: 63.34 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.401, allocations: 3.938 kB / 414.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001829/0.4012, allocations: 81.52 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4012, allocations: 7.984 kB / 414.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.4012, allocations: 4.125 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4013, allocations: 4 kB / 414.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.4014, allocations: 8 kB / 414.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.4014, allocations: 7.938 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.4014, allocations: 11.92 kB / 414.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4014, allocations: 4 kB / 414.2 MB, free: 13.03 MB / 334.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 9.705e-05/0.4015, allocations: 121.8 kB / 414.3 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.4017, allocations: 57.67 kB / 414.4 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.4017, allocations: 23.83 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.4017, allocations: 0 / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.4017, allocations: 4 kB / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4017, allocations: 0 / 414.4 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.402, allocations: 177.6 kB / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.402, allocations: 0 / 414.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.402, allocations: 11.98 kB / 414.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4021, allocations: 7.875 kB / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4021, allocations: 0 / 414.6 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4021, allocations: 4 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4021, allocations: 4 kB / 414.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4023, allocations: 263.5 kB / 414.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.4024, allocations: 89 kB / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4024, allocations: 0 / 415 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4025, allocations: 11.98 kB / 415 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4026, allocations: 4 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.4026, allocations: 4 kB / 415 MB, free: 12.15 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.849e-05/0.4027, allocations: 117.4 kB / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4027, allocations: 0 / 415.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.403, allocations: 4 kB / 415.1 MB, free: 12.03 MB / 334.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.0001215/0.4031, allocations: 99.25 kB / 415.2 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.4033, allocations: 51.91 kB / 415.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4033, allocations: 3.938 kB / 415.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.348e-05/0.4034, allocations: 15.98 kB / 415.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004398/0.4038, allocations: 23.95 kB / 415.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/0.4042, allocations: 213.4 kB / 415.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.4045, allocations: 0.6924 MB / 416.2 MB, free: 10.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.4046, allocations: 11.44 kB / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4046, allocations: 0 / 416.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Templates: time 0.002592/0.4072, allocations: 0.8459 MB / 417 MB, free: 10.01 MB / 334.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