Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.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.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|unitDelay2.y|xor.y|xor1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002268/0.002267, allocations: 186.4 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.071/2.071, 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.001104/0.001103, allocations: 86.66 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.1037/0.1037, allocations: 12.61 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.602e-05, allocations: 4 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 50.36 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4512, allocations: 77.88 MB / 0.5022 GB, free: 176 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.4515, allocations: 71.95 kB / 0.5022 GB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005848/0.4574, allocations: 1.562 MB / 0.5038 GB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4575, allocations: 0 / 0.5038 GB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.4575, allocations: 4 kB / 0.5038 GB, free: 14.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000391/0.4579, allocations: 362.3 kB / 0.5041 GB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.4579, allocations: 8.031 kB / 0.5041 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.458, allocations: 7.906 kB / 0.5041 GB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.4583, allocations: 210.8 kB / 0.5043 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4583, allocations: 4 kB / 0.5043 GB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.4583, allocations: 8 kB / 0.5043 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.4589, allocations: 210.9 kB / 0.5045 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.4589, allocations: 0 / 0.5045 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.4589, allocations: 8 kB / 0.5045 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.459, allocations: 0 / 0.5045 GB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.4591, allocations: 41.48 kB / 0.5046 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.4593, allocations: 177.6 kB / 0.5048 GB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.4596, allocations: 126.8 kB / 0.5049 GB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.4599, allocations: 77.31 kB / 0.505 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.4599, allocations: 3.938 kB / 0.505 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4599, allocations: 38.56 kB / 0.505 GB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.4599, allocations: 3.938 kB / 0.505 GB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003166/0.4603, allocations: 118.3 kB / 0.5051 GB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.4604, allocations: 59.41 kB / 0.5052 GB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4605, allocations: 135.5 kB / 0.5053 GB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.4606, allocations: 37.64 kB / 0.5053 GB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.4606, allocations: 150.9 kB / 0.5055 GB, free: 12.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.4607, allocations: 15.92 kB / 0.5055 GB, free: 12.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.4607, allocations: 4 kB / 0.5055 GB, free: 12.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4608, allocations: 310.8 kB / 0.5058 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.429e-05/0.4609, allocations: 20 kB / 0.5058 GB, free: 12.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.461, allocations: 114.4 kB / 0.5059 GB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.511e-05/0.4611, allocations: 39.92 kB / 0.506 GB, free: 12.03 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.4612, allocations: 8 kB / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003114/0.4615, allocations: 145.2 kB / 0.5061 GB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.4615, allocations: 12.3 kB / 0.5061 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4615, allocations: 4.5 kB / 0.5061 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4616, allocations: 8 kB / 0.5061 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.4616, allocations: 11.89 kB / 0.5061 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.4617, allocations: 11.94 kB / 0.5061 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.4618, allocations: 4 kB / 0.5062 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.4618, allocations: 8 kB / 0.5062 GB, free: 11.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (integerConstant1.y,xor1.y,xor1.u2,xor1.u1,integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001183/0.4619, allocations: 128.8 kB / 0.5063 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/0.4622, allocations: 110.9 kB / 0.5064 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.616e-05/0.4622, allocations: 20.73 kB / 0.5064 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.4623, allocations: 8 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.4623, allocations: 3.953 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4623, allocations: 0 / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.4625, allocations: 181.6 kB / 0.5066 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4625, allocations: 0 / 0.5066 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.4625, allocations: 0 / 0.5066 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.4625, allocations: 4 kB / 0.5066 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.4626, allocations: 4 kB / 0.5066 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.4626, allocations: 7.922 kB / 0.5066 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4626, allocations: 0 / 0.5066 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.4629, allocations: 153.1 kB / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.463, allocations: 105 kB / 0.5069 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.463, allocations: 0 / 0.5069 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.041e-05/0.4631, allocations: 8 kB / 0.5069 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.261e-06/0.4631, allocations: 3.984 kB / 0.5069 GB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.4631, allocations: 0 / 0.5069 GB, free: 10.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.4632, allocations: 111.2 kB / 0.507 GB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.374e-06/0.4632, allocations: 0 / 0.507 GB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003073/0.4636, allocations: 27.88 kB / 0.507 GB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],unitDelay2.u,unitDelay2.y,xor.u1,xor.u2,xor.y,integerConstant.y,xor1.u1,xor1.u2,xor1.y,integerConstant1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0001475/0.4637, allocations: 107.1 kB / 0.5071 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.464, allocations: 87.8 kB / 0.5072 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.464, allocations: 1 kB / 0.5072 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.203e-06/0.464, allocations: 0 / 0.5072 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.4644, allocations: 79.89 kB / 0.5073 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004546/0.4649, allocations: 183.1 kB / 0.5074 GB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4652, allocations: 0.7165 MB / 0.5081 GB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.4653, allocations: 15.44 kB / 0.5082 GB, free: 9.613 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4653, allocations: 0 / 0.5082 GB, free: 9.613 MB / 362.7 MB Notification: Performance of Templates: time 0.003618/0.4689, allocations: 1.16 MB / 0.5093 GB, free: 8.453 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches