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/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/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.0008726/0.0008727, allocations: 180.5 kB / 17.46 MB, free: 4.359 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.355/1.355, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.0008224/0.0008229, allocations: 85.48 kB / 272 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1143/0.1143, allocations: 12.21 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004064, allocations: 16 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09088, allocations: 50.28 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2992/0.3902, allocations: 77.94 MB / 0.5087 GB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.3904, allocations: 79.11 kB / 0.5088 GB, free: 13.08 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004646/0.3951, allocations: 2.125 MB / 0.5109 GB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3951, allocations: 0 / 0.5109 GB, free: 12.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.3951, allocations: 7.75 kB / 0.5109 GB, free: 12.51 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003236/0.3955, allocations: 370.6 kB / 0.5113 GB, free: 12.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3955, allocations: 15.47 kB / 0.5113 GB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.3956, allocations: 16.58 kB / 0.5113 GB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.3957, allocations: 191.6 kB / 0.5115 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3957, allocations: 8.156 kB / 0.5115 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3958, allocations: 11.28 kB / 0.5115 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.3961, allocations: 227 kB / 0.5117 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3962, allocations: 3.875 kB / 0.5117 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3962, allocations: 3.5 kB / 0.5117 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3962, allocations: 0 / 0.5117 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.3963, allocations: 37.89 kB / 0.5118 GB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/0.3964, allocations: 183.8 kB / 0.5119 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3966, allocations: 126.7 kB / 0.512 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.919e-05/0.3967, allocations: 82.59 kB / 0.5121 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.3967, allocations: 0 / 0.5121 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.3968, allocations: 38.5 kB / 0.5122 GB, free: 11.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 9.32e-07/0.3968, allocations: 3.875 kB / 0.5122 GB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002448/0.397, allocations: 146 kB / 0.5123 GB, free: 11.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.3971, allocations: 67.56 kB / 0.5124 GB, free: 11.36 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.3972, allocations: 146.5 kB / 0.5125 GB, free: 11.25 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3972, allocations: 25.7 kB / 0.5125 GB, free: 11.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.3972, allocations: 91.81 kB / 0.5126 GB, free: 11.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.3972, allocations: 10.06 kB / 0.5126 GB, free: 11.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-06/0.3972, allocations: 3.812 kB / 0.5126 GB, free: 11.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.45e-05/0.3973, allocations: 322.3 kB / 0.5129 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.3973, allocations: 21.92 kB / 0.513 GB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.3974, allocations: 129.3 kB / 0.5131 GB, free: 10.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.3975, allocations: 147.8 kB / 0.5132 GB, free: 10.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3975, allocations: 0 / 0.5132 GB, free: 10.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001611/0.3977, allocations: 157.8 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3977, allocations: 7.562 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3977, allocations: 3.875 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3977, allocations: 3.844 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.388e-05/0.3977, allocations: 11.34 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3978, allocations: 7.781 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.3978, allocations: 7.844 kB / 0.5134 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3978, allocations: 10.88 kB / 0.5134 GB, free: 10.43 MB / 330.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 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * 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 8.017e-05/0.3979, allocations: 148.7 kB / 0.5136 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.398, allocations: 114.6 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.736e-05/0.3981, allocations: 16.12 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3981, allocations: 3.875 kB / 0.5137 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3981, allocations: 3.984 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3981, allocations: 3.938 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.962e-05/0.3982, allocations: 190.5 kB / 0.5139 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3982, allocations: 0 / 0.5139 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/0.3982, allocations: 7.75 kB / 0.5139 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.3982, allocations: 4 kB / 0.5139 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.3982, allocations: 0 / 0.5139 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3983, allocations: 0.7031 kB / 0.5139 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3983, allocations: 3.875 kB / 0.5139 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.3984, allocations: 150.9 kB / 0.514 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.3985, allocations: 96.09 kB / 0.5141 GB, free: 9.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.3985, allocations: 11.19 kB / 0.5142 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.974e-05/0.3985, allocations: 3.125 kB / 0.5142 GB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-06/0.3985, allocations: 7.938 kB / 0.5142 GB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.3985, allocations: 3.875 kB / 0.5142 GB, free: 9.816 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.3986, allocations: 109.8 kB / 0.5143 GB, free: 9.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3986, allocations: 0 / 0.5143 GB, free: 9.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002104/0.3988, allocations: 18.47 kB / 0.5143 GB, free: 9.73 MB / 330.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 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * 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 8.624e-05/0.3989, allocations: 98.62 kB / 0.5144 GB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.399, allocations: 98.61 kB / 0.5145 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3991, allocations: 3.938 kB / 0.5145 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3991, allocations: 0 / 0.5145 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3994, allocations: 82.91 kB / 0.5146 GB, free: 9.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003284/0.3997, allocations: 271.1 kB / 0.5148 GB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.3999, allocations: 0.7112 MB / 0.5155 GB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.3999, allocations: 15.06 kB / 0.5155 GB, free: 8.668 MB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3999, allocations: 0 / 0.5155 GB, free: 8.668 MB / 330.7 MB Notification: Performance of Templates: time 0.002191/0.4021, allocations: 1.189 MB / 0.5167 GB, free: 8.066 MB / 330.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