Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.001386/0.001386, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.653/1.653, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001084/0.001084, allocations: 106.8 kB / 270.3 MB, free: 13.34 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.09089/0.09089, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003933/0.0003932, allocations: 13.88 kB / 392 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.2228, allocations: 77.66 MB / 0.5079 GB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.2231, allocations: 75.95 kB / 0.5079 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003153/0.2263, allocations: 1.18 MB / 0.5091 GB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2263, allocations: 0 / 0.5091 GB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.2264, allocations: 4 kB / 0.5091 GB, free: 11.91 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.000415/0.2268, allocations: 367.6 kB / 0.5094 GB, free: 11.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2268, allocations: 8.031 kB / 0.5094 GB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2269, allocations: 7.906 kB / 0.5094 GB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.2271, allocations: 187.2 kB / 0.5096 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.2272, allocations: 4 kB / 0.5096 GB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2272, allocations: 7.953 kB / 0.5096 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.2275, allocations: 125.8 kB / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2275, allocations: 0 / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2276, allocations: 0 / 0.5098 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2276, allocations: 4 kB / 0.5098 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.2277, allocations: 35.92 kB / 0.5098 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.2282, allocations: 361.9 kB / 0.5101 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.2283, allocations: 71.84 kB / 0.5102 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2283, allocations: 4 kB / 0.5102 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.2284, allocations: 34.55 kB / 0.5102 GB, free: 10.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.2284, allocations: 0 / 0.5102 GB, free: 10.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003339/0.2287, allocations: 105.8 kB / 0.5103 GB, free: 10.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.2288, allocations: 110.8 kB / 0.5105 GB, free: 10.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2289, allocations: 127.8 kB / 0.5106 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.229, allocations: 25.7 kB / 0.5106 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.229, allocations: 92.05 kB / 0.5107 GB, free: 10.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.229, allocations: 0 / 0.5107 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-06/0.2291, allocations: 0 / 0.5107 GB, free: 10.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2292, allocations: 322.8 kB / 0.511 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.2292, allocations: 16.03 kB / 0.511 GB, free: 9.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.446e-05/0.2293, allocations: 31.42 kB / 0.511 GB, free: 9.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.2294, allocations: 27.92 kB / 0.5111 GB, free: 9.602 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2294, allocations: 3.953 kB / 0.5111 GB, free: 9.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001468/0.2295, allocations: 81.52 kB / 0.5111 GB, free: 9.512 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.2296, allocations: 4 kB / 0.5111 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2296, allocations: 0 / 0.5111 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.2296, allocations: 4 kB / 0.5112 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.956e-05/0.2296, allocations: 3.938 kB / 0.5112 GB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.2297, allocations: 4.125 kB / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.2297, allocations: 4 kB / 0.5112 GB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2297, allocations: 7.938 kB / 0.5112 GB, free: 9.484 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 () * 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.0001079/0.2298, allocations: 129.7 kB / 0.5113 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.796e-05/0.2299, allocations: 53.55 kB / 0.5113 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.23, allocations: 7.875 kB / 0.5114 GB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.23, allocations: 4 kB / 0.5114 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.23, allocations: 4.031 kB / 0.5114 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.23, allocations: 3.984 kB / 0.5114 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2302, allocations: 169.7 kB / 0.5115 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2303, allocations: 0 / 0.5115 GB, free: 9.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.203e-05/0.2303, allocations: 11.95 kB / 0.5115 GB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2303, allocations: 0 / 0.5115 GB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.2303, allocations: 0 / 0.5115 GB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.488e-06/0.2303, allocations: 4 kB / 0.5115 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2303, allocations: 3.938 kB / 0.5115 GB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.2306, allocations: 284.4 kB / 0.5118 GB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.2306, allocations: 89 kB / 0.5119 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2307, allocations: 0 / 0.5119 GB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.2308, allocations: 12 kB / 0.5119 GB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.2308, allocations: 4 kB / 0.5119 GB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.2308, allocations: 0 / 0.5119 GB, free: 8.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.648e-05/0.2309, allocations: 107.2 kB / 0.512 GB, free: 8.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2309, allocations: 0 / 0.512 GB, free: 8.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.2312, allocations: 8 kB / 0.512 GB, free: 8.492 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 () * 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.0001077/0.2313, allocations: 95.19 kB / 0.5121 GB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2314, allocations: 43.97 kB / 0.5122 GB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2314, allocations: 0 / 0.5122 GB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.715e-05/0.2315, allocations: 19.92 kB / 0.5122 GB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.2318, allocations: 27.72 kB / 0.5122 GB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004015/0.2322, allocations: 198.5 kB / 0.5124 GB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.2326, allocations: 0.6926 MB / 0.5131 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.595e-05/0.2326, allocations: 8.188 kB / 0.5131 GB, free: 7.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.2327, allocations: 7.438 kB / 0.5131 GB, free: 7.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2327, allocations: 4 kB / 0.5131 GB, free: 7.336 MB / 362.7 MB Notification: Performance of Templates: time 0.002848/0.2355, allocations: 0.5407 MB / 0.5136 GB, free: 6.805 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches