Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 195 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.6 MB / 244.3 MB, free: 8.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007286/0.0007285, allocations: 101.6 kB / 296.4 MB, free: 7.035 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002175/0.0002176, allocations: 12 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2086, allocations: 51.28 MB / 407.5 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.001276/0.21, allocations: 1.218 MB / 408.7 MB, free: 26.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000282/0.2102, allocations: 159.6 kB / 408.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.2103, allocations: 0 / 408.9 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.541e-05/0.2104, allocations: 4.906 kB / 408.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.677e-05/0.2105, allocations: 7.984 kB / 408.9 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.2107, allocations: 37.22 kB / 408.9 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.011e-05/0.2108, allocations: 31.86 kB / 408.9 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.2109, allocations: 15.98 kB / 409 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.2109, allocations: 12.55 kB / 409 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.642e-05/0.2109, allocations: 16.48 kB / 409 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.211, allocations: 4 kB / 409 MB, free: 26.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.211, allocations: 6.344 kB / 409 MB, free: 26.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.455e-05/0.211, allocations: 11.92 kB / 409 MB, free: 26.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.211, allocations: 33.7 kB / 409 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.893e-05/0.2111, allocations: 35.88 kB / 409.1 MB, free: 26.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2111, allocations: 4 kB / 409.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.2111, allocations: 0 / 409.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2112, allocations: 0.5312 kB / 409.1 MB, free: 26.27 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.0003316/0.2115, allocations: 364.9 kB / 409.4 MB, free: 25.87 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2115, allocations: 15.22 kB / 409.5 MB, free: 25.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.163e-05/0.2116, allocations: 11.81 kB / 409.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2117, allocations: 182.9 kB / 409.6 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.2117, allocations: 4 kB / 409.6 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.2117, allocations: 4 kB / 409.7 MB, free: 25.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.212, allocations: 119.2 kB / 409.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.212, allocations: 11.53 kB / 409.8 MB, free: 25.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.212, allocations: 3.984 kB / 409.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.212, allocations: 3.984 kB / 409.8 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.169e-05/0.2121, allocations: 31.92 kB / 409.8 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.2124, allocations: 373.8 kB / 410.2 MB, free: 25.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.2125, allocations: 71.84 kB / 410.3 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.2126, allocations: 42.56 kB / 410.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.2126, allocations: 0 / 410.3 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.2126, allocations: 38.56 kB / 410.3 MB, free: 24.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.2126, allocations: 0 / 410.3 MB, free: 24.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002482/0.2129, allocations: 97.61 kB / 410.4 MB, free: 24.72 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.2129, allocations: 110.7 kB / 410.5 MB, free: 24.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.213, allocations: 140 kB / 410.7 MB, free: 24.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.054e-06/0.213, allocations: 25.7 kB / 410.7 MB, free: 24.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/0.2131, allocations: 88.14 kB / 410.8 MB, free: 24.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.2131, allocations: 16.11 kB / 410.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.2131, allocations: 4 kB / 410.8 MB, free: 24.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.2131, allocations: 314.8 kB / 411.1 MB, free: 23.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.243e-05/0.2132, allocations: 15.98 kB / 411.1 MB, free: 23.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.169e-05/0.2132, allocations: 39.42 kB / 411.2 MB, free: 23.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.2133, allocations: 16 kB / 411.2 MB, free: 23.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2133, allocations: 7.953 kB / 411.2 MB, free: 23.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001165/0.2134, allocations: 77.45 kB / 411.3 MB, free: 23.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2134, allocations: 4 kB / 411.3 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2134, allocations: 8.062 kB / 411.3 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2135, allocations: 4 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.78e-05/0.2135, allocations: 3.984 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2135, allocations: 3.984 kB / 411.3 MB, free: 23.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.556e-05/0.2135, allocations: 8 kB / 411.3 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.2135, allocations: 4 kB / 411.3 MB, free: 23.77 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[1],sample1.u[2],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.387e-05/0.2136, allocations: 125.8 kB / 411.4 MB, free: 23.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2137, allocations: 49.5 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.2137, allocations: 19.89 kB / 411.5 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.2138, allocations: 4 kB / 411.5 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2138, allocations: 0 / 411.5 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2138, allocations: 0 / 411.5 MB, free: 23.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2139, allocations: 169.7 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2139, allocations: 4 kB / 411.7 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-06/0.2139, allocations: 3.953 kB / 411.7 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.214, allocations: 0 / 411.7 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.214, allocations: 4 kB / 411.7 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.214, allocations: 3.984 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.214, allocations: 4 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.2141, allocations: 259.5 kB / 411.9 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.548e-05/0.2142, allocations: 89.09 kB / 412 MB, free: 22.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2142, allocations: 7.938 kB / 412 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.531e-05/0.2143, allocations: 8 kB / 412 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.2143, allocations: 7.984 kB / 412 MB, free: 22.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2143, allocations: 0 / 412 MB, free: 22.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.241e-05/0.2144, allocations: 109.8 kB / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.2144, allocations: 0 / 412.1 MB, free: 22.81 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.2146, allocations: 7.938 kB / 412.2 MB, free: 22.8 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[1],sample1.u[2],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.522e-05/0.2147, allocations: 103.2 kB / 412.3 MB, free: 22.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.2148, allocations: 47.92 kB / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2149, allocations: 0 / 412.3 MB, free: 22.65 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.2149, allocations: 15.92 kB / 412.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.2153, allocations: 20.58 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002718/0.2156, allocations: 216.6 kB / 412.6 MB, free: 22.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.2157, allocations: 0.6933 MB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2157, allocations: 7.438 kB / 413.3 MB, free: 21.63 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2157, allocations: 4 kB / 413.3 MB, free: 21.63 MB / 298.7 MB Notification: Performance of Templates: time 0.001698/0.2174, allocations: 0.7986 MB / 414.1 MB, free: 20.84 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches