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.00215/0.00215, allocations: 186.6 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.155/2.155, allocations: 205.2 MB / 219.4 MB, free: 14.28 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: 90.64 kB / 267.6 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.1014/0.1014, allocations: 12.6 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.577e-05, allocations: 4 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.307, allocations: 50.37 MB / 436.3 MB, free: 14.14 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.4462, allocations: 77.58 MB / 0.5019 GB, free: 472 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003264/0.4466, allocations: 79.95 kB / 0.502 GB, free: 392 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00461/0.4512, allocations: 1.172 MB / 0.5031 GB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4513, allocations: 0 / 0.5031 GB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4513, allocations: 0 / 0.5031 GB, free: 15.21 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.0004206/0.4517, allocations: 346.4 kB / 0.5034 GB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4518, allocations: 8.031 kB / 0.5034 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.4518, allocations: 11.91 kB / 0.5035 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.4521, allocations: 190.8 kB / 0.5036 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/0.4521, allocations: 4 kB / 0.5036 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.4522, allocations: 11.94 kB / 0.5036 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.4525, allocations: 109.9 kB / 0.5038 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4525, allocations: 0 / 0.5038 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.4525, allocations: 0 / 0.5038 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.4526, allocations: 4 kB / 0.5038 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.451e-05/0.4526, allocations: 19.94 kB / 0.5038 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.4532, allocations: 373.8 kB / 0.5041 GB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4533, allocations: 67.83 kB / 0.5042 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.4534, allocations: 31.7 kB / 0.5042 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.4534, allocations: 3.984 kB / 0.5042 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.4535, allocations: 38.56 kB / 0.5043 GB, free: 13.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.4535, allocations: 4 kB / 0.5043 GB, free: 13.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002528/0.4538, allocations: 69.52 kB / 0.5043 GB, free: 13.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.4538, allocations: 102.8 kB / 0.5044 GB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.454, allocations: 126.4 kB / 0.5046 GB, free: 13.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.454, allocations: 29.64 kB / 0.5046 GB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.4541, allocations: 150.6 kB / 0.5047 GB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.4542, allocations: 19.94 kB / 0.5047 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.4542, allocations: 0 / 0.5047 GB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.4543, allocations: 314.8 kB / 0.505 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.4543, allocations: 8 kB / 0.5051 GB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.4544, allocations: 27.44 kB / 0.5051 GB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.4545, allocations: 23.94 kB / 0.5051 GB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4545, allocations: 0 / 0.5051 GB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.4546, allocations: 57.62 kB / 0.5052 GB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.4547, allocations: 8.625 kB / 0.5052 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4547, allocations: 3.938 kB / 0.5052 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4547, allocations: 0 / 0.5052 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-05/0.4547, allocations: 7.938 kB / 0.5052 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.4548, allocations: 0 / 0.5052 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.4549, allocations: 8.125 kB / 0.5052 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.4549, allocations: 0 / 0.5052 GB, free: 12.79 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.000102/0.455, allocations: 114.5 kB / 0.5053 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4551, allocations: 49.59 kB / 0.5053 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.4552, allocations: 11.66 kB / 0.5054 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4552, allocations: 4 kB / 0.5054 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4552, allocations: 3.938 kB / 0.5054 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4552, allocations: 0 / 0.5054 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.4555, allocations: 173.7 kB / 0.5055 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4555, allocations: 3.953 kB / 0.5055 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.834e-05/0.4556, allocations: 7.984 kB / 0.5055 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4556, allocations: 0 / 0.5055 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.4556, allocations: 0 / 0.5055 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.4556, allocations: 0 / 0.5055 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4556, allocations: 4 kB / 0.5055 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.4559, allocations: 270 kB / 0.5058 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-05/0.456, allocations: 93.09 kB / 0.5059 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.456, allocations: 3.984 kB / 0.5059 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.4562, allocations: 4 kB / 0.5059 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4562, allocations: 0 / 0.5059 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4562, allocations: 8 kB / 0.5059 GB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.4564, allocations: 111.1 kB / 0.506 GB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4564, allocations: 0 / 0.506 GB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000332/0.4567, allocations: 12 kB / 0.506 GB, free: 11.83 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.0001285/0.4568, allocations: 95.23 kB / 0.5061 GB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/0.457, allocations: 23.94 kB / 0.5061 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.457, allocations: 4 kB / 0.5061 GB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.4571, allocations: 12.25 kB / 0.5062 GB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.4574, allocations: 31.97 kB / 0.5062 GB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.4578, allocations: 159.8 kB / 0.5063 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.4582, allocations: 0.6965 MB / 0.507 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.4582, allocations: 7.438 kB / 0.507 GB, free: 10.73 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4582, allocations: 0 / 0.507 GB, free: 10.73 MB / 362.7 MB Notification: Performance of Templates: time 0.003001/0.4612, allocations: 0.8069 MB / 0.5078 GB, free: 9.93 MB / 362.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