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.00233/0.00233, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.3 MB / 214.1 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 90.38 kB / 262.2 MB, free: 1.68 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.1114/0.1114, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.965e-05, allocations: 0 / 378.9 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.309, allocations: 50.36 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.4429, allocations: 76.93 MB / 0.4943 GB, free: 5.395 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/0.4433, allocations: 79.89 kB / 0.4944 GB, free: 5.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004876/0.4482, allocations: 1.269 MB / 0.4957 GB, free: 4.043 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4483, allocations: 7.938 kB / 0.4957 GB, free: 4.035 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.4483, allocations: 4 kB / 0.4957 GB, free: 4.031 MB / 346.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.0004596/0.4488, allocations: 355.9 kB / 0.496 GB, free: 3.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4488, allocations: 16.02 kB / 0.496 GB, free: 3.625 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.4489, allocations: 11.81 kB / 0.496 GB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.4492, allocations: 195.8 kB / 0.4962 GB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.4492, allocations: 0 / 0.4962 GB, free: 3.383 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.4492, allocations: 8 kB / 0.4962 GB, free: 3.375 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.4494, allocations: 23.98 kB / 0.4962 GB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4497, allocations: 101.9 kB / 0.4963 GB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4497, allocations: 0 / 0.4963 GB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4497, allocations: 0 / 0.4963 GB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.4497, allocations: 4 kB / 0.4963 GB, free: 3.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.4503, allocations: 354.4 kB / 0.4967 GB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.4504, allocations: 67.78 kB / 0.4968 GB, free: 2.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.4505, allocations: 22.64 kB / 0.4968 GB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.4505, allocations: 4 kB / 0.4968 GB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.4505, allocations: 30.56 kB / 0.4968 GB, free: 2.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.844e-06/0.4506, allocations: 0 / 0.4968 GB, free: 2.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002366/0.4508, allocations: 65.53 kB / 0.4969 GB, free: 2.598 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.4509, allocations: 110.8 kB / 0.497 GB, free: 2.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.4511, allocations: 131.2 kB / 0.4971 GB, free: 2.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4511, allocations: 29.64 kB / 0.4971 GB, free: 2.297 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.4512, allocations: 154.6 kB / 0.4973 GB, free: 2.145 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.4512, allocations: 7.906 kB / 0.4973 GB, free: 2.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-06/0.4513, allocations: 0 / 0.4973 GB, free: 2.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4514, allocations: 326.8 kB / 0.4976 GB, free: 1.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.4515, allocations: 11.94 kB / 0.4976 GB, free: 1.797 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.4515, allocations: 27.44 kB / 0.4976 GB, free: 1.758 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.776e-05/0.4516, allocations: 11.98 kB / 0.4976 GB, free: 1.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4516, allocations: 0 / 0.4976 GB, free: 1.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/0.4517, allocations: 57.62 kB / 0.4977 GB, free: 1.684 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4518, allocations: 4 kB / 0.4977 GB, free: 1.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4518, allocations: 4 kB / 0.4977 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4518, allocations: 0 / 0.4977 GB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.452, allocations: 12 kB / 0.4977 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.452, allocations: 0 / 0.4977 GB, free: 1.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.4521, allocations: 7.984 kB / 0.4977 GB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.4521, allocations: 8.125 kB / 0.4977 GB, free: 1.648 MB / 346.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.0001003/0.4522, allocations: 116.9 kB / 0.4978 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.4523, allocations: 45.59 kB / 0.4979 GB, free: 1.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.4524, allocations: 11.97 kB / 0.4979 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.4524, allocations: 0 / 0.4979 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4524, allocations: 0 / 0.4979 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.4524, allocations: 3.984 kB / 0.4979 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.4527, allocations: 154.2 kB / 0.498 GB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.4528, allocations: 12.03 kB / 0.4981 GB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.4529, allocations: 8.094 kB / 0.4981 GB, free: 1.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4529, allocations: 3.984 kB / 0.4981 GB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.4529, allocations: 7.984 kB / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.453, allocations: 0 / 0.4981 GB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.453, allocations: 3.938 kB / 0.4981 GB, free: 1.238 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.4532, allocations: 263 kB / 0.4983 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/0.4533, allocations: 100.9 kB / 0.4984 GB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.4534, allocations: 0 / 0.4984 GB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.4536, allocations: 11.98 kB / 0.4984 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4536, allocations: 0 / 0.4984 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4536, allocations: 4 kB / 0.4984 GB, free: 0.8164 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.981e-05/0.4537, allocations: 107.9 kB / 0.4985 GB, free: 0.7109 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4538, allocations: 4 kB / 0.4986 GB, free: 0.707 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000347/0.4541, allocations: 4 kB / 0.4986 GB, free: 0.7031 MB / 346.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.0001389/0.4543, allocations: 103 kB / 0.4987 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.4544, allocations: 24 kB / 0.4987 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4544, allocations: 0 / 0.4987 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.4545, allocations: 12.19 kB / 0.4987 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.4549, allocations: 27.45 kB / 0.4987 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003973/0.4553, allocations: 147.1 kB / 0.4989 GB, free: 364 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4557, allocations: 0.7001 MB / 0.4995 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.4557, allocations: 11.44 kB / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.4557, allocations: 0 / 0.4996 GB, free: 15.62 MB / 362.7 MB Notification: Performance of Templates: time 0.003008/0.4587, allocations: 0.8118 MB / 0.5003 GB, free: 14.81 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