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-master/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-master/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.001517/0.001517, allocations: 186.3 kB / 16.44 MB, free: 5.672 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001119/0.001119, allocations: 89.73 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09926/0.09926, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008587/0.0008589, allocations: 16 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09512, allocations: 50.36 MB / 442.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4248/0.5199, allocations: 77.68 MB / 0.5078 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5203, allocations: 80.44 kB / 0.5079 GB, free: 12.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004424/0.5247, allocations: 1.279 MB / 0.5092 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5247, allocations: 0 / 0.5092 GB, free: 12.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5248, allocations: 4 kB / 0.5092 GB, free: 12.38 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.0004125/0.5252, allocations: 374.5 kB / 0.5095 GB, free: 12.01 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.5253, allocations: 14.22 kB / 0.5095 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5253, allocations: 7.75 kB / 0.5095 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001896/0.5255, allocations: 207.6 kB / 0.5097 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5255, allocations: 0 / 0.5097 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.5256, allocations: 3.844 kB / 0.5097 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.5259, allocations: 123.6 kB / 0.5099 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.526, allocations: 4 kB / 0.5099 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.526, allocations: 3.938 kB / 0.5099 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.526, allocations: 0 / 0.5099 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.5262, allocations: 49.58 kB / 0.5099 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.5268, allocations: 375.6 kB / 0.5103 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.527, allocations: 88.67 kB / 0.5104 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.527, allocations: 0 / 0.5104 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.5271, allocations: 38.38 kB / 0.5104 GB, free: 11.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.535e-06/0.5271, allocations: 0 / 0.5104 GB, free: 11.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005149/0.5276, allocations: 124.7 kB / 0.5105 GB, free: 11.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.5277, allocations: 102.8 kB / 0.5106 GB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.5278, allocations: 131.7 kB / 0.5107 GB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.5278, allocations: 29.67 kB / 0.5108 GB, free: 10.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.5279, allocations: 165.5 kB / 0.5109 GB, free: 10.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.5279, allocations: 3.906 kB / 0.5109 GB, free: 10.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.5279, allocations: 0 / 0.5109 GB, free: 10.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.528, allocations: 321.4 kB / 0.5112 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5281, allocations: 18.09 kB / 0.5113 GB, free: 10.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.5283, allocations: 44.69 kB / 0.5113 GB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.5284, allocations: 25.39 kB / 0.5113 GB, free: 10.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5284, allocations: 0 / 0.5113 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002729/0.5287, allocations: 87.84 kB / 0.5114 GB, free: 10.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5287, allocations: 3.875 kB / 0.5114 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.5287, allocations: 3.812 kB / 0.5114 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5288, allocations: 3.938 kB / 0.5114 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5289, allocations: 15.67 kB / 0.5114 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5289, allocations: 4 kB / 0.5114 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.529, allocations: 3.844 kB / 0.5114 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.529, allocations: 3.75 kB / 0.5114 GB, free: 10.35 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.0001134/0.5291, allocations: 131.1 kB / 0.5116 GB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.5293, allocations: 47.75 kB / 0.5116 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.5293, allocations: 14.12 kB / 0.5116 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5294, allocations: 11.84 kB / 0.5116 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5294, allocations: 3.938 kB / 0.5116 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5294, allocations: 0 / 0.5116 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002571/0.5296, allocations: 176.8 kB / 0.5118 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5297, allocations: 3.875 kB / 0.5118 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.5298, allocations: 7.688 kB / 0.5118 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5298, allocations: 3.844 kB / 0.5118 GB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5298, allocations: 3.984 kB / 0.5118 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5298, allocations: 0 / 0.5118 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5299, allocations: 3.844 kB / 0.5118 GB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.5302, allocations: 299.2 kB / 0.5121 GB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.5303, allocations: 91.78 kB / 0.5122 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.5303, allocations: 3.844 kB / 0.5122 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.5305, allocations: 3.969 kB / 0.5122 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.649e-05/0.5305, allocations: 10.67 kB / 0.5122 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.5305, allocations: 3.953 kB / 0.5122 GB, free: 9.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.02e-05/0.5306, allocations: 105.9 kB / 0.5123 GB, free: 9.504 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5307, allocations: 0 / 0.5123 GB, free: 9.504 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.531, allocations: 11.53 kB / 0.5123 GB, free: 9.5 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.0001161/0.5312, allocations: 102.6 kB / 0.5124 GB, free: 9.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.5315, allocations: 51.84 kB / 0.5125 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5315, allocations: 256 / 0.5125 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.5316, allocations: 22.14 kB / 0.5125 GB, free: 9.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.532, allocations: 28.55 kB / 0.5125 GB, free: 9.375 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004365/0.5325, allocations: 224.5 kB / 0.5127 GB, free: 9.164 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.5326, allocations: 0.6995 MB / 0.5134 GB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.42e-05/0.5327, allocations: 7.438 kB / 0.5134 GB, free: 8.453 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5327, allocations: 0 / 0.5134 GB, free: 8.453 MB / 330.7 MB Notification: Performance of Templates: time 0.002708/0.5354, allocations: 0.8355 MB / 0.5143 GB, free: 8.043 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