Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 186.1 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.969/1.969, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001121/0.001121, allocations: 86.92 kB / 270.9 MB, free: 8.371 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.1003/0.1003, allocations: 12.6 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005344/0.0005346, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08697, allocations: 50.36 MB / 442.3 MB, free: 16.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4125/0.4996, allocations: 77.68 MB / 0.5078 GB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.4999, allocations: 74.89 kB / 0.5079 GB, free: 12.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003871/0.5038, allocations: 1.169 MB / 0.509 GB, free: 12.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5038, allocations: 0 / 0.509 GB, free: 12.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.5038, allocations: 3.844 kB / 0.509 GB, free: 12.44 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.0003423/0.5042, allocations: 369.2 kB / 0.5094 GB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.5042, allocations: 12.25 kB / 0.5094 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.5043, allocations: 11.72 kB / 0.5094 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.5045, allocations: 189.4 kB / 0.5096 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.5045, allocations: 0 / 0.5096 GB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.5045, allocations: 7.797 kB / 0.5096 GB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.5048, allocations: 127.9 kB / 0.5097 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5049, allocations: 4 kB / 0.5097 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5049, allocations: 0 / 0.5097 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5049, allocations: 0 / 0.5097 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.5051, allocations: 31.56 kB / 0.5098 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.5055, allocations: 364.9 kB / 0.5101 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.5056, allocations: 72.2 kB / 0.5102 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.5056, allocations: 0 / 0.5102 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.5057, allocations: 42.22 kB / 0.5102 GB, free: 11.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.522e-06/0.5057, allocations: 0 / 0.5102 GB, free: 11.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.000393/0.5061, allocations: 96.44 kB / 0.5103 GB, free: 11.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.5062, allocations: 113.7 kB / 0.5104 GB, free: 11.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.5063, allocations: 126.8 kB / 0.5105 GB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.5063, allocations: 25.7 kB / 0.5106 GB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.5064, allocations: 164.7 kB / 0.5107 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.239e-05/0.5064, allocations: 3.438 kB / 0.5107 GB, free: 10.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.5064, allocations: 0 / 0.5107 GB, free: 10.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.483e-05/0.5065, allocations: 310.8 kB / 0.511 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.5066, allocations: 21.42 kB / 0.511 GB, free: 10.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.996e-05/0.5066, allocations: 36.34 kB / 0.5111 GB, free: 10.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.972e-05/0.5067, allocations: 15 kB / 0.5111 GB, free: 10.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.5068, allocations: 6.672 kB / 0.5111 GB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002058/0.507, allocations: 81.05 kB / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.507, allocations: 3.875 kB / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.507, allocations: 0 / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.507, allocations: 3.812 kB / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.269e-05/0.5071, allocations: 3.234 kB / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5071, allocations: 0 / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.999e-05/0.5072, allocations: 8.094 kB / 0.5112 GB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.5072, allocations: 3.812 kB / 0.5112 GB, free: 10.44 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 9.548e-05/0.5073, allocations: 123.7 kB / 0.5113 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5074, allocations: 63.06 kB / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.5074, allocations: 19.69 kB / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.5075, allocations: 0 / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.5075, allocations: 0 / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5075, allocations: 3.875 kB / 0.5114 GB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.5077, allocations: 178.6 kB / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.5077, allocations: 0 / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.316e-05/0.5078, allocations: 3.953 kB / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5078, allocations: 3.844 kB / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.5078, allocations: 0 / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5078, allocations: 0 / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5078, allocations: 3.844 kB / 0.5116 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.5081, allocations: 281.2 kB / 0.5119 GB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.5082, allocations: 97.86 kB / 0.5119 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.5082, allocations: 0 / 0.5119 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5083, allocations: 3.844 kB / 0.5119 GB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.5084, allocations: 7.828 kB / 0.512 GB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.5084, allocations: 11.88 kB / 0.512 GB, free: 9.699 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.5085, allocations: 104 kB / 0.5121 GB, free: 9.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5085, allocations: 0 / 0.5121 GB, free: 9.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003365/0.5088, allocations: 7.688 kB / 0.5121 GB, free: 9.621 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 9.501e-05/0.509, allocations: 94.77 kB / 0.5122 GB, free: 9.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000213/0.5092, allocations: 46.52 kB / 0.5122 GB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5092, allocations: 0 / 0.5122 GB, free: 9.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.5093, allocations: 19.11 kB / 0.5122 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.5097, allocations: 27.78 kB / 0.5123 GB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.5101, allocations: 220.9 kB / 0.5125 GB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.5103, allocations: 0.6921 MB / 0.5131 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.263e-05/0.5103, allocations: 14.84 kB / 0.5132 GB, free: 8.582 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5103, allocations: 0 / 0.5132 GB, free: 8.582 MB / 330.7 MB Notification: Performance of Templates: time 0.00251/0.5128, allocations: 0.8089 MB / 0.5139 GB, free: 8.18 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches