Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 181.2 kB / 17.45 MB, free: 4.25 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.855/2.855, allocations: 205.4 MB / 223.6 MB, free: 9.051 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.001215/0.001215, allocations: 89.08 kB / 272 MB, free: 8.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1582/0.1582, allocations: 12.2 MB / 332.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009286/0.0009289, allocations: 23.98 kB / 392.7 MB, free: 67.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1799, allocations: 50.28 MB / 443 MB, free: 16.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5633/0.7432, allocations: 77.67 MB / 0.5085 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.7436, allocations: 84.81 kB / 0.5086 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005026/0.7486, allocations: 1.846 MB / 0.5104 GB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.7487, allocations: 3.938 kB / 0.5104 GB, free: 12.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.7487, allocations: 0 / 0.5104 GB, free: 12.6 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.0005805/0.7493, allocations: 377.4 kB / 0.5107 GB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.404e-05/0.7494, allocations: 7.75 kB / 0.5107 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.7495, allocations: 16.41 kB / 0.5107 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.7498, allocations: 194.9 kB / 0.5109 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.7498, allocations: 8.062 kB / 0.5109 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.7499, allocations: 4.219 kB / 0.5109 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005017/0.7504, allocations: 138.2 kB / 0.5111 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7504, allocations: 4.188 kB / 0.5111 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.7504, allocations: 7.312 kB / 0.5111 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.7505, allocations: 0 / 0.5111 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.7507, allocations: 46.16 kB / 0.5111 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006149/0.7513, allocations: 373.4 kB / 0.5115 GB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.7515, allocations: 82 kB / 0.5116 GB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.7516, allocations: 37.69 kB / 0.5116 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.7517, allocations: 3.375 kB / 0.5116 GB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.7517, allocations: 38.28 kB / 0.5116 GB, free: 11.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.014e-06/0.7517, allocations: 4 kB / 0.5116 GB, free: 11.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005029/0.7522, allocations: 114 kB / 0.5117 GB, free: 11.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.7523, allocations: 111.2 kB / 0.5119 GB, free: 11.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.7525, allocations: 146.9 kB / 0.512 GB, free: 11.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.7525, allocations: 25.7 kB / 0.512 GB, free: 11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.7526, allocations: 94.59 kB / 0.5121 GB, free: 10.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.7526, allocations: 3.938 kB / 0.5121 GB, free: 10.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.7526, allocations: 3.438 kB / 0.5121 GB, free: 10.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.972e-05/0.7527, allocations: 315.9 kB / 0.5124 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.289e-05/0.7528, allocations: 23.67 kB / 0.5124 GB, free: 10.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.834e-05/0.7529, allocations: 50.44 kB / 0.5125 GB, free: 10.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.7531, allocations: 65.78 kB / 0.5126 GB, free: 10.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.7531, allocations: 3.938 kB / 0.5126 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002961/0.7535, allocations: 94.67 kB / 0.5126 GB, free: 10.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.7535, allocations: 4.906 kB / 0.5127 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7535, allocations: 0 / 0.5127 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.7535, allocations: 3.844 kB / 0.5127 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.7537, allocations: 15.02 kB / 0.5127 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7537, allocations: 3.781 kB / 0.5127 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.7538, allocations: 11.89 kB / 0.5127 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.7538, allocations: 3.844 kB / 0.5127 GB, free: 10.43 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: 4 (sample.u[1],sample.u[2],sample.y[2],sample.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 0.0001126/0.7539, allocations: 124.2 kB / 0.5128 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.7541, allocations: 48.34 kB / 0.5129 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.7541, allocations: 15.27 kB / 0.5129 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7541, allocations: 0 / 0.5129 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.7542, allocations: 3.844 kB / 0.5129 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7542, allocations: 0 / 0.5129 GB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.7545, allocations: 179.3 kB / 0.513 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7545, allocations: 3.875 kB / 0.513 GB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.7546, allocations: 11.52 kB / 0.5131 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.7546, allocations: 7.844 kB / 0.5131 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7546, allocations: 0 / 0.5131 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.7547, allocations: 3.938 kB / 0.5131 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7547, allocations: 0 / 0.5131 GB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.755, allocations: 283.4 kB / 0.5133 GB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.407e-05/0.7551, allocations: 88.98 kB / 0.5134 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.7551, allocations: 3.812 kB / 0.5134 GB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.7553, allocations: 19.69 kB / 0.5134 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.7554, allocations: 3.938 kB / 0.5134 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.7554, allocations: 0 / 0.5134 GB, free: 9.691 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/0.7555, allocations: 106.1 kB / 0.5135 GB, free: 9.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.7555, allocations: 3.844 kB / 0.5136 GB, free: 9.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000482/0.756, allocations: 3.844 kB / 0.5136 GB, free: 9.609 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: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * 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.0001141/0.7562, allocations: 98.06 kB / 0.5136 GB, free: 9.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.7565, allocations: 53.95 kB / 0.5137 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.7565, allocations: 0 / 0.5137 GB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.7566, allocations: 26.58 kB / 0.5137 GB, free: 9.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.7573, allocations: 24.05 kB / 0.5137 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/0.7579, allocations: 228.2 kB / 0.514 GB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.7581, allocations: 0.6961 MB / 0.5146 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.7581, allocations: 15.3 kB / 0.5147 GB, free: 8.559 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.7581, allocations: 0 / 0.5147 GB, free: 8.559 MB / 330.7 MB Notification: Performance of Templates: time 0.00337/0.7615, allocations: 0.8424 MB / 0.5155 GB, free: 8.145 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches