Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 191.6 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 226.6 MB / 244.7 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007572/0.0007574, allocations: 92.69 kB / 296.8 MB, free: 6.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002052/0.0002052, allocations: 8 kB / 356.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.202, allocations: 51.29 MB / 408 MB, free: 27.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001335/0.2034, allocations: 1.238 MB / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000286/0.2037, allocations: 140.7 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.91e-05/0.2038, allocations: 4 kB / 409.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.306e-05/0.2038, allocations: 13.14 kB / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.2039, allocations: 0 / 409.4 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001963/0.2041, allocations: 35.91 kB / 409.5 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.382e-05/0.2042, allocations: 35.86 kB / 409.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.2043, allocations: 22.75 kB / 409.5 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.662e-05/0.2044, allocations: 11.94 kB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.518e-05/0.2044, allocations: 15.86 kB / 409.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.2044, allocations: 0.625 kB / 409.6 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2044, allocations: 4 kB / 409.6 MB, free: 26.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.2045, allocations: 13.92 kB / 409.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.2045, allocations: 45.52 kB / 409.6 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.387e-05/0.2046, allocations: 39.92 kB / 409.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2046, allocations: 0 / 409.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2046, allocations: 0 / 409.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2046, allocations: 1.219 kB / 409.7 MB, free: 26.14 MB / 298.7 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.0003593/0.205, allocations: 379.6 kB / 410 MB, free: 25.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.205, allocations: 12.03 kB / 410 MB, free: 25.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.997e-05/0.2051, allocations: 8.844 kB / 410.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.2052, allocations: 190.5 kB / 410.2 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.2052, allocations: 8.375 kB / 410.2 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.2052, allocations: 4.375 kB / 410.2 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2055, allocations: 130.4 kB / 410.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.2055, allocations: 4.188 kB / 410.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.2055, allocations: 3.938 kB / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.2056, allocations: 0 / 410.4 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.2057, allocations: 51.91 kB / 410.4 MB, free: 25.26 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.206, allocations: 366 kB / 410.8 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.2061, allocations: 91.7 kB / 410.9 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.486e-05/0.2062, allocations: 42.62 kB / 410.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.2062, allocations: 3.938 kB / 410.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.2062, allocations: 34.56 kB / 411 MB, free: 24.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.2062, allocations: 0 / 411 MB, free: 24.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002889/0.2065, allocations: 117.6 kB / 411.1 MB, free: 24.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.2066, allocations: 106.8 kB / 411.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.688e-05/0.2067, allocations: 145.8 kB / 411.3 MB, free: 24.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.2067, allocations: 25.7 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.086e-05/0.2068, allocations: 96.36 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.2068, allocations: 3.906 kB / 411.4 MB, free: 24.1 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.2068, allocations: 7.938 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.302e-05/0.2068, allocations: 318.8 kB / 411.8 MB, free: 23.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.692e-05/0.2069, allocations: 19.98 kB / 411.8 MB, free: 23.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.526e-05/0.207, allocations: 47.42 kB / 411.8 MB, free: 23.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2071, allocations: 67.34 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2071, allocations: 3.938 kB / 411.9 MB, free: 23.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001436/0.2072, allocations: 93.5 kB / 412 MB, free: 23.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.2072, allocations: 4.125 kB / 412 MB, free: 23.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.2073, allocations: 4 kB / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2073, allocations: 4 kB / 412 MB, free: 23.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.776e-05/0.2074, allocations: 11.98 kB / 412 MB, free: 23.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/0.2074, allocations: 7.938 kB / 412 MB, free: 23.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.1e-05/0.2074, allocations: 7.938 kB / 412 MB, free: 23.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2074, allocations: 4 kB / 412 MB, free: 23.47 MB / 298.7 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 8.157e-05/0.2075, allocations: 129.8 kB / 412.2 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2076, allocations: 49.59 kB / 412.2 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.2076, allocations: 11.88 kB / 412.2 MB, free: 23.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.2076, allocations: 4 kB / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2077, allocations: 0 / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2077, allocations: 0 / 412.2 MB, free: 23.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.2078, allocations: 185.6 kB / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2078, allocations: 0 / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.2079, allocations: 8.094 kB / 412.4 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2079, allocations: 8.016 kB / 412.4 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.2079, allocations: 3.938 kB / 412.4 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2079, allocations: 4 kB / 412.4 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2079, allocations: 0 / 412.4 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2081, allocations: 279.5 kB / 412.7 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.47e-05/0.2082, allocations: 89 kB / 412.8 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.2082, allocations: 3.984 kB / 412.8 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.748e-05/0.2083, allocations: 16 kB / 412.8 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2083, allocations: 3.938 kB / 412.8 MB, free: 22.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.2083, allocations: 4 kB / 412.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.73e-05/0.2084, allocations: 114.3 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2084, allocations: 3.938 kB / 412.9 MB, free: 22.46 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.2086, allocations: 4 kB / 412.9 MB, free: 22.46 MB / 298.7 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 7.504e-05/0.2087, allocations: 99.25 kB / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001672/0.2089, allocations: 64.08 kB / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2089, allocations: 0 / 413.1 MB, free: 22.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.209, allocations: 15.98 kB / 413.1 MB, free: 22.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.2093, allocations: 31.89 kB / 413.1 MB, free: 22.24 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002875/0.2096, allocations: 224.3 kB / 413.4 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.2098, allocations: 0.6894 MB / 414.1 MB, free: 21.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.2098, allocations: 11.44 kB / 414.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2098, allocations: 0 / 414.1 MB, free: 21.25 MB / 298.7 MB Notification: Performance of Templates: time 0.001828/0.2116, allocations: 0.8204 MB / 414.9 MB, free: 20.44 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches