Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00251/0.00251, allocations: 181.2 kB / 17.46 MB, free: 4.355 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.59/2.59, allocations: 205.4 MB / 223.6 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 97.08 kB / 272 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1748/0.1748, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004705, allocations: 23.98 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1433, allocations: 50.28 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5664/0.7098, allocations: 78.29 MB / 0.5091 GB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/0.7103, allocations: 78.14 kB / 0.5092 GB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009093/0.7194, allocations: 2.232 MB / 0.5113 GB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.45e-06/0.7195, allocations: 0 / 0.5113 GB, free: 12.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.7195, allocations: 7.781 kB / 0.5113 GB, free: 12.37 MB / 330.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.000586/0.7201, allocations: 389.4 kB / 0.5117 GB, free: 11.97 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/0.7202, allocations: 15.31 kB / 0.5117 GB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.7202, allocations: 16.59 kB / 0.5118 GB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002952/0.7206, allocations: 194.5 kB / 0.5119 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.7206, allocations: 384 / 0.5119 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.7206, allocations: 7.062 kB / 0.5119 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005093/0.7211, allocations: 142.1 kB / 0.5121 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.7212, allocations: 192 / 0.5121 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.7212, allocations: 7.906 kB / 0.5121 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.7212, allocations: 0 / 0.5121 GB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.7214, allocations: 57.61 kB / 0.5121 GB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.7221, allocations: 380 kB / 0.5125 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.7223, allocations: 81.06 kB / 0.5126 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.7224, allocations: 46.67 kB / 0.5126 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.987e-05/0.7225, allocations: 0 / 0.5126 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.7225, allocations: 41.84 kB / 0.5127 GB, free: 11.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.7225, allocations: 0 / 0.5127 GB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005535/0.7231, allocations: 125.2 kB / 0.5128 GB, free: 11.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.7232, allocations: 106.3 kB / 0.5129 GB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.7234, allocations: 151.4 kB / 0.513 GB, free: 10.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.7234, allocations: 25.98 kB / 0.5131 GB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.172e-05/0.7235, allocations: 101.2 kB / 0.5132 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.7235, allocations: 7.422 kB / 0.5132 GB, free: 10.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/0.7235, allocations: 3.938 kB / 0.5132 GB, free: 10.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.7236, allocations: 324.2 kB / 0.5135 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.932e-05/0.7237, allocations: 26.48 kB / 0.5135 GB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.7238, allocations: 46.55 kB / 0.5135 GB, free: 10.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.724, allocations: 73.19 kB / 0.5136 GB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7241, allocations: 3.938 kB / 0.5136 GB, free: 10.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002754/0.7243, allocations: 91.44 kB / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7244, allocations: 7.75 kB / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.7244, allocations: 4 kB / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.7244, allocations: 0 / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.7246, allocations: 14.67 kB / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.7246, allocations: 3.875 kB / 0.5137 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.7247, allocations: 11.77 kB / 0.5137 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.7247, allocations: 7.469 kB / 0.5137 GB, free: 10.17 MB / 330.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 0.0001161/0.7249, allocations: 125.4 kB / 0.5139 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.725, allocations: 52.09 kB / 0.5139 GB, free: 10 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.7251, allocations: 15.23 kB / 0.5139 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7251, allocations: 0 / 0.5139 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.7251, allocations: 3.906 kB / 0.5139 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.7251, allocations: 0 / 0.5139 GB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.7254, allocations: 185 kB / 0.5141 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.7255, allocations: 0 / 0.5141 GB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.7256, allocations: 15.84 kB / 0.5141 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.7256, allocations: 3.938 kB / 0.5141 GB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.7256, allocations: 4.031 kB / 0.5141 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7256, allocations: 0 / 0.5141 GB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7256, allocations: 7.906 kB / 0.5141 GB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.726, allocations: 273.8 kB / 0.5144 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.528e-05/0.7261, allocations: 103.9 kB / 0.5145 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.7261, allocations: 0 / 0.5145 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.7263, allocations: 11.41 kB / 0.5145 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.006e-05/0.7264, allocations: 3.984 kB / 0.5145 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.7264, allocations: 3.812 kB / 0.5145 GB, free: 9.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.994e-05/0.7265, allocations: 116.4 kB / 0.5146 GB, free: 9.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7265, allocations: 4 kB / 0.5146 GB, free: 9.336 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.727, allocations: 7.719 kB / 0.5146 GB, free: 9.336 MB / 330.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 (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 Backend phase and start with SimCode phase: time 0.0001199/0.7271, allocations: 98.84 kB / 0.5147 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002838/0.7274, allocations: 56.2 kB / 0.5148 GB, free: 9.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7275, allocations: 7.844 kB / 0.5148 GB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.7276, allocations: 22.86 kB / 0.5148 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006899/0.7283, allocations: 31.62 kB / 0.5149 GB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006094/0.7289, allocations: 257.3 kB / 0.5151 GB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.7291, allocations: 0.6993 MB / 0.5158 GB, free: 8.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.7292, allocations: 11.28 kB / 0.5158 GB, free: 8.258 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.7292, allocations: 0 / 0.5158 GB, free: 8.258 MB / 330.7 MB Notification: Performance of Templates: time 0.003293/0.7325, allocations: 0.9457 MB / 0.5167 GB, free: 7.785 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches