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.001584/0.001584, allocations: 186.8 kB / 13.7 MB, free: 1.625 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.048/2.048, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001094/0.001094, allocations: 94.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09969/0.09969, allocations: 12.59 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.377e-05/4.409e-05, allocations: 4 kB / 386 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3175, allocations: 50.36 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4598, allocations: 77.59 MB / 0.5019 GB, free: 472 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/0.4603, allocations: 71.95 kB / 0.502 GB, free: 400 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007575/0.4679, allocations: 1.28 MB / 0.5032 GB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.468, allocations: 3.938 kB / 0.5032 GB, free: 15.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.468, allocations: 8 kB / 0.5032 GB, free: 15.09 MB / 362.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.0006872/0.4687, allocations: 355.9 kB / 0.5036 GB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.332e-05/0.4688, allocations: 8.031 kB / 0.5036 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.407e-05/0.4689, allocations: 11.81 kB / 0.5036 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005634/0.4695, allocations: 202.8 kB / 0.5038 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4695, allocations: 7.938 kB / 0.5038 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.4696, allocations: 8 kB / 0.5038 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004471/0.47, allocations: 113.9 kB / 0.5039 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4701, allocations: 0 / 0.5039 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4701, allocations: 0 / 0.5039 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.4701, allocations: 4 kB / 0.5039 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.4703, allocations: 23.92 kB / 0.5039 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.4712, allocations: 369.9 kB / 0.5043 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.4714, allocations: 63.73 kB / 0.5043 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.4715, allocations: 31.81 kB / 0.5044 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.4716, allocations: 0 / 0.5044 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/0.4716, allocations: 42.5 kB / 0.5044 GB, free: 13.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.965e-06/0.4716, allocations: 0 / 0.5044 GB, free: 13.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003675/0.472, allocations: 69.53 kB / 0.5045 GB, free: 13.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4722, allocations: 106.8 kB / 0.5046 GB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.4724, allocations: 132.8 kB / 0.5047 GB, free: 13.33 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.4725, allocations: 29.64 kB / 0.5047 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4726, allocations: 154.6 kB / 0.5049 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.4727, allocations: 7.906 kB / 0.5049 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.4727, allocations: 0 / 0.5049 GB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4729, allocations: 326.8 kB / 0.5052 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-05/0.473, allocations: 7.984 kB / 0.5052 GB, free: 12.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.518e-05/0.4731, allocations: 31.44 kB / 0.5052 GB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.4732, allocations: 15.92 kB / 0.5053 GB, free: 12.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4732, allocations: 8 kB / 0.5053 GB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002285/0.4734, allocations: 53.62 kB / 0.5053 GB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.4735, allocations: 8 kB / 0.5053 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.4735, allocations: 0 / 0.5053 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4735, allocations: 0 / 0.5053 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.4738, allocations: 12.09 kB / 0.5053 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4738, allocations: 0 / 0.5053 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.474, allocations: 16.11 kB / 0.5053 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.474, allocations: 3.984 kB / 0.5053 GB, free: 12.64 MB / 362.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 () * 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.0001505/0.4742, allocations: 116.9 kB / 0.5055 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.4744, allocations: 49.59 kB / 0.5055 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.545e-05/0.4745, allocations: 11.66 kB / 0.5055 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4746, allocations: 0 / 0.5055 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4746, allocations: 4 kB / 0.5055 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4746, allocations: 3.984 kB / 0.5055 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005196/0.4752, allocations: 177.6 kB / 0.5057 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4752, allocations: 0 / 0.5057 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.4754, allocations: 15.98 kB / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.126e-06/0.4754, allocations: 0 / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4755, allocations: 4 kB / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.4755, allocations: 3.938 kB / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4755, allocations: 0 / 0.5057 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003945/0.4759, allocations: 270.1 kB / 0.506 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4761, allocations: 96.94 kB / 0.5061 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.397e-05/0.4762, allocations: 11.98 kB / 0.5061 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.4764, allocations: 4 kB / 0.5061 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.4765, allocations: 3.953 kB / 0.5061 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.4766, allocations: 8 kB / 0.5061 GB, free: 11.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001669/0.4767, allocations: 108 kB / 0.5062 GB, free: 11.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.4768, allocations: 0 / 0.5062 GB, free: 11.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000649/0.4774, allocations: 8 kB / 0.5062 GB, free: 11.65 MB / 362.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 () * 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.0002067/0.4777, allocations: 103.2 kB / 0.5063 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4779, allocations: 23.94 kB / 0.5063 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4779, allocations: 0 / 0.5063 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.296e-05/0.478, allocations: 20.17 kB / 0.5063 GB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.4786, allocations: 20.02 kB / 0.5064 GB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005444/0.4792, allocations: 152.1 kB / 0.5065 GB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004666/0.4797, allocations: 0.7004 MB / 0.5072 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.4797, allocations: 7.438 kB / 0.5072 GB, free: 10.56 MB / 362.7 MB Notification: Performance of SimCode: time 1.252e-06/0.4797, allocations: 224 / 0.5072 GB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.004173/0.4839, allocations: 0.8346 MB / 0.508 GB, free: 9.727 MB / 362.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