Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.0009922/0.0009923, allocations: 172.2 kB / 16.8 MB, free: 4.898 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.486/1.486, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007314/0.0007313, allocations: 78.44 kB / 271.3 MB, free: 8.258 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.08471/0.08471, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 19.98 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1057, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/0.4652, allocations: 77.97 MB / 0.5094 GB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4655, allocations: 77.09 kB / 0.5094 GB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003691/0.4692, allocations: 1.575 MB / 0.511 GB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4692, allocations: 3.938 kB / 0.511 GB, free: 12.86 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.4693, allocations: 4 kB / 0.511 GB, free: 12.86 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.0003408/0.4696, allocations: 372.4 kB / 0.5113 GB, free: 12.47 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4697, allocations: 15.69 kB / 0.5113 GB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.4697, allocations: 12.72 kB / 0.5114 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4699, allocations: 190.8 kB / 0.5115 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4699, allocations: 3.375 kB / 0.5115 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.47, allocations: 11.62 kB / 0.5116 GB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003729/0.4703, allocations: 229.8 kB / 0.5118 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4704, allocations: 192 / 0.5118 GB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4704, allocations: 3.938 kB / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.4704, allocations: 0 / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.005e-05/0.4705, allocations: 33.52 kB / 0.5118 GB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.4706, allocations: 187.6 kB / 0.512 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.4708, allocations: 128.9 kB / 0.5121 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4709, allocations: 82.19 kB / 0.5122 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.4709, allocations: 0 / 0.5122 GB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.471, allocations: 41.06 kB / 0.5122 GB, free: 11.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.471, allocations: 0 / 0.5122 GB, free: 11.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003195/0.4713, allocations: 151.5 kB / 0.5124 GB, free: 11.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.4714, allocations: 67.02 kB / 0.5124 GB, free: 11.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4715, allocations: 140.6 kB / 0.5126 GB, free: 11.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.4715, allocations: 29.52 kB / 0.5126 GB, free: 11.56 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.4716, allocations: 91.42 kB / 0.5127 GB, free: 11.47 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.4716, allocations: 7.406 kB / 0.5127 GB, free: 11.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.4716, allocations: 3.438 kB / 0.5127 GB, free: 11.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.384e-05/0.4717, allocations: 318.1 kB / 0.513 GB, free: 11.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.253e-05/0.4717, allocations: 19.11 kB / 0.513 GB, free: 11.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.4718, allocations: 130.2 kB / 0.5131 GB, free: 11.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.472, allocations: 150.5 kB / 0.5133 GB, free: 10.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.472, allocations: 0 / 0.5133 GB, free: 10.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002045/0.4722, allocations: 155.3 kB / 0.5134 GB, free: 10.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.4722, allocations: 15.75 kB / 0.5134 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4722, allocations: 3.75 kB / 0.5135 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.4723, allocations: 8.141 kB / 0.5135 GB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.858e-05/0.4723, allocations: 19.55 kB / 0.5135 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4723, allocations: 3.656 kB / 0.5135 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.765e-05/0.4724, allocations: 7.656 kB / 0.5135 GB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4724, allocations: 7.656 kB / 0.5135 GB, free: 10.76 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 0.0001421/0.4725, allocations: 140.7 kB / 0.5136 GB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.4727, allocations: 119.6 kB / 0.5137 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.4728, allocations: 15.06 kB / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4728, allocations: 3.906 kB / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4728, allocations: 4 kB / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4728, allocations: 0 / 0.5138 GB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.4729, allocations: 178.3 kB / 0.5139 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4729, allocations: 3.938 kB / 0.5139 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.4729, allocations: 15.42 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.473, allocations: 3.938 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.473, allocations: 0 / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.473, allocations: 3.812 kB / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.473, allocations: 0 / 0.514 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4732, allocations: 146.6 kB / 0.5141 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/0.4732, allocations: 105.3 kB / 0.5142 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4733, allocations: 7.562 kB / 0.5142 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/0.4733, allocations: 0 / 0.5142 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.4733, allocations: 0 / 0.5142 GB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.4733, allocations: 7.906 kB / 0.5142 GB, free: 10.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.4734, allocations: 108.3 kB / 0.5143 GB, free: 10.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4734, allocations: 0 / 0.5143 GB, free: 10.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.4736, allocations: 18.47 kB / 0.5143 GB, free: 10.09 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 0.0001079/0.4737, allocations: 102.2 kB / 0.5144 GB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.4739, allocations: 92.12 kB / 0.5145 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4739, allocations: 1 kB / 0.5145 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4739, allocations: 0 / 0.5145 GB, free: 9.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.4743, allocations: 78.88 kB / 0.5146 GB, free: 9.957 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.4747, allocations: 243.8 kB / 0.5148 GB, free: 9.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.4748, allocations: 0.7193 MB / 0.5155 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.236e-05/0.4749, allocations: 4.562 kB / 0.5155 GB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.4749, allocations: 11.25 kB / 0.5155 GB, free: 9.059 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4749, allocations: 7.875 kB / 0.5156 GB, free: 9.051 MB / 330.7 MB Notification: Performance of Templates: time 0.003196/0.4781, allocations: 0.9178 MB / 0.5165 GB, free: 8.602 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches