Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009941/0.0009941, allocations: 195.6 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.569/1.569, allocations: 226.6 MB / 244.3 MB, free: 8.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008564/0.0008565, allocations: 99.27 kB / 296.4 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002427/0.0002426, allocations: 8 kB / 356.2 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2178, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001352/0.2192, allocations: 1.314 MB / 408.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.2199, allocations: 0.4918 MB / 409.3 MB, free: 26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.41e-05/0.22, allocations: 3.938 kB / 409.3 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.2201, allocations: 4.531 kB / 409.3 MB, free: 26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.618e-05/0.2201, allocations: 25.97 kB / 409.3 MB, free: 25.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.2204, allocations: 35.89 kB / 409.4 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.268e-05/0.2205, allocations: 47.8 kB / 409.4 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2206, allocations: 16.89 kB / 409.4 MB, free: 25.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2207, allocations: 32.67 kB / 409.5 MB, free: 25.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.118e-05/0.2207, allocations: 28.47 kB / 409.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2208, allocations: 4 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.187e-05/0.2208, allocations: 4.844 kB / 409.5 MB, free: 25.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.17e-05/0.2209, allocations: 15.92 kB / 409.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.89e-05/0.2209, allocations: 38.7 kB / 409.6 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.221, allocations: 47.91 kB / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.221, allocations: 0 / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.221, allocations: 2.531 kB / 409.6 MB, free: 25.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.221, allocations: 0 / 409.6 MB, free: 25.7 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.0004375/0.2215, allocations: 383.9 kB / 410 MB, free: 25.28 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.2215, allocations: 8.031 kB / 410 MB, free: 25.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.2217, allocations: 38.52 kB / 410 MB, free: 25.24 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.2219, allocations: 192.5 kB / 410.2 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.2219, allocations: 4 kB / 410.2 MB, free: 25.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.2219, allocations: 4 kB / 410.2 MB, free: 25 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.2222, allocations: 137.8 kB / 410.4 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.2222, allocations: 0 / 410.4 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2222, allocations: 0 / 410.4 MB, free: 24.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.2223, allocations: 7.984 kB / 410.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.2224, allocations: 55.91 kB / 410.4 MB, free: 24.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.2228, allocations: 377.9 kB / 410.8 MB, free: 24.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.223, allocations: 83.78 kB / 410.9 MB, free: 24.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.2231, allocations: 50.61 kB / 410.9 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.2231, allocations: 0 / 410.9 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2231, allocations: 38.5 kB / 411 MB, free: 24.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2231, allocations: 0 / 411 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003564/0.2235, allocations: 125.6 kB / 411.1 MB, free: 24.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2235, allocations: 102.8 kB / 411.2 MB, free: 23.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2237, allocations: 158.4 kB / 411.3 MB, free: 23.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.2237, allocations: 25.7 kB / 411.4 MB, free: 23.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.2237, allocations: 100 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2237, allocations: 0 / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.2238, allocations: 4 kB / 411.5 MB, free: 23.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.2238, allocations: 314.8 kB / 411.8 MB, free: 23.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.2239, allocations: 19.98 kB / 411.8 MB, free: 23.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.135e-05/0.224, allocations: 55.34 kB / 411.8 MB, free: 23.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.104e-05/0.2241, allocations: 23.98 kB / 411.9 MB, free: 23.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2241, allocations: 11.95 kB / 411.9 MB, free: 23.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001774/0.2242, allocations: 97.44 kB / 412 MB, free: 23.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.2243, allocations: 4 kB / 412 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2243, allocations: 3.938 kB / 412 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2243, allocations: 4 kB / 412 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.2244, allocations: 20.05 kB / 412 MB, free: 23.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.2244, allocations: 8 kB / 412 MB, free: 23.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.2245, allocations: 7.938 kB / 412 MB, free: 23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2245, allocations: 4 kB / 412 MB, free: 23 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: 0 () * 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 7.97e-05/0.2246, allocations: 117.8 kB / 412.1 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.581e-05/0.2247, allocations: 61.53 kB / 412.2 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.2247, allocations: 15.91 kB / 412.2 MB, free: 22.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.2248, allocations: 4 kB / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.2248, allocations: 0 / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2248, allocations: 4.078 kB / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.225, allocations: 181.6 kB / 412.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.225, allocations: 3.984 kB / 412.4 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.2251, allocations: 19.88 kB / 412.4 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2251, allocations: 0 / 412.4 MB, free: 22.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.2251, allocations: 4 kB / 412.4 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2251, allocations: 0 / 412.4 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2252, allocations: 4 kB / 412.4 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.2254, allocations: 275.5 kB / 412.7 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.2255, allocations: 93 kB / 412.8 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.2255, allocations: 3.953 kB / 412.8 MB, free: 22.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2256, allocations: 15.98 kB / 412.8 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.2257, allocations: 0 / 412.8 MB, free: 22.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.2257, allocations: 7.938 kB / 412.8 MB, free: 22.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.2257, allocations: 115.1 kB / 412.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2257, allocations: 0 / 412.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.226, allocations: 8 kB / 412.9 MB, free: 21.97 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: 0 () * 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 0.0001255/0.2261, allocations: 103.2 kB / 413 MB, free: 21.86 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002117/0.2264, allocations: 55.89 kB / 413.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2264, allocations: 0 / 413.1 MB, free: 21.81 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.971e-05/0.2264, allocations: 28.23 kB / 413.1 MB, free: 21.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.2269, allocations: 23.02 kB / 413.1 MB, free: 21.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.2273, allocations: 261.1 kB / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.2275, allocations: 0.7004 MB / 414.1 MB, free: 20.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.2275, allocations: 11.44 kB / 414.1 MB, free: 20.72 MB / 298.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2275, allocations: 0 / 414.1 MB, free: 20.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002183/0.2297, allocations: 0.9283 MB / 415 MB, free: 19.8 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches