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.001041/0.001041, allocations: 196.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 226.6 MB / 244.3 MB, free: 6.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 95.97 kB / 296.4 MB, free: 6.777 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002309/0.0002311, allocations: 7.984 kB / 356.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 51.3 MB / 407.5 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.001499/0.2197, allocations: 1.23 MB / 408.7 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003154/0.2201, allocations: 151.6 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.945e-05/0.2202, allocations: 5.719 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.2203, allocations: 3.938 kB / 408.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.2204, allocations: 7.969 kB / 408.9 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.2206, allocations: 27.92 kB / 408.9 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.2207, allocations: 39.86 kB / 409 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2208, allocations: 17.72 kB / 409 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.2208, allocations: 12.62 kB / 409 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.256e-05/0.2209, allocations: 15.86 kB / 409 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.2209, allocations: 2.25 kB / 409 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.2209, allocations: 4 kB / 409 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.221, allocations: 15.92 kB / 409 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.221, allocations: 33.7 kB / 409.1 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.397e-05/0.2211, allocations: 35.92 kB / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2211, allocations: 4 kB / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2211, allocations: 1.531 kB / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.2211, allocations: 0 / 409.1 MB, free: 26.18 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.0003904/0.2215, allocations: 377 kB / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2215, allocations: 8.031 kB / 409.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.2216, allocations: 9.156 kB / 409.5 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.2217, allocations: 193.1 kB / 409.7 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.2217, allocations: 3.953 kB / 409.7 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2217, allocations: 5.094 kB / 409.7 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.222, allocations: 125.5 kB / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.222, allocations: 0 / 409.8 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.2221, allocations: 11.94 kB / 409.8 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.2221, allocations: 3.984 kB / 409.8 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.2222, allocations: 45.59 kB / 409.9 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.2226, allocations: 373.9 kB / 410.2 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.2227, allocations: 83.78 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.2228, allocations: 42.61 kB / 410.4 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.2228, allocations: 7.922 kB / 410.4 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2228, allocations: 38.56 kB / 410.4 MB, free: 24.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2228, allocations: 0 / 410.4 MB, free: 24.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003138/0.2231, allocations: 121.8 kB / 410.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.2232, allocations: 106.8 kB / 410.6 MB, free: 24.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.2233, allocations: 137.8 kB / 410.8 MB, free: 24.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2233, allocations: 25.7 kB / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.2233, allocations: 104 kB / 410.9 MB, free: 24.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.097e-06/0.2233, allocations: 0 / 410.9 MB, free: 24.14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-06/0.2234, allocations: 0 / 410.9 MB, free: 24.14 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.2234, allocations: 326.9 kB / 411.2 MB, free: 23.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.2235, allocations: 15.98 kB / 411.2 MB, free: 23.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.873e-05/0.2236, allocations: 47.41 kB / 411.3 MB, free: 23.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.581e-05/0.2236, allocations: 27.98 kB / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2237, allocations: 0 / 411.3 MB, free: 23.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001538/0.2238, allocations: 89.55 kB / 411.4 MB, free: 23.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2238, allocations: 15.92 kB / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2238, allocations: 0 / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2239, allocations: 0 / 411.4 MB, free: 23.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.964e-05/0.224, allocations: 12 kB / 411.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.224, allocations: 0 / 411.4 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.455e-05/0.224, allocations: 15.92 kB / 411.4 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.224, allocations: 0 / 411.4 MB, free: 23.58 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 9.175e-05/0.2241, allocations: 129.9 kB / 411.6 MB, free: 23.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.2242, allocations: 53.55 kB / 411.6 MB, free: 23.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.2242, allocations: 11.86 kB / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.2242, allocations: 0 / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2243, allocations: 4 kB / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.2243, allocations: 0 / 411.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.2244, allocations: 181.6 kB / 411.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2244, allocations: 4 kB / 411.8 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.2245, allocations: 16.02 kB / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2245, allocations: 0 / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2245, allocations: 4 kB / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2245, allocations: 0 / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2245, allocations: 0 / 411.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.2247, allocations: 279.4 kB / 412.1 MB, free: 22.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.2248, allocations: 93 kB / 412.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.2248, allocations: 4 kB / 412.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.2249, allocations: 7.984 kB / 412.2 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2249, allocations: 7.938 kB / 412.2 MB, free: 22.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.2249, allocations: 4 kB / 412.2 MB, free: 22.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.974e-05/0.225, allocations: 114.5 kB / 412.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.225, allocations: 0 / 412.3 MB, free: 22.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.2252, allocations: 8 kB / 412.3 MB, free: 22.57 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 9.301e-05/0.2253, allocations: 95.25 kB / 412.4 MB, free: 22.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.2255, allocations: 55.91 kB / 412.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2255, allocations: 0 / 412.5 MB, free: 22.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.2256, allocations: 23.98 kB / 412.5 MB, free: 22.39 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.2259, allocations: 23.97 kB / 412.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.2262, allocations: 228.5 kB / 412.7 MB, free: 22.1 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.2263, allocations: 0.6933 MB / 413.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.2264, allocations: 11.44 kB / 413.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2264, allocations: 4 kB / 413.5 MB, free: 21.36 MB / 298.7 MB Notification: Performance of Templates: time 0.001681/0.2281, allocations: 0.8255 MB / 414.3 MB, free: 20.55 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