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.001031/0.001031, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.444/1.444, allocations: 205.2 MB / 219 MB, free: 9.207 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.0009365/0.0009367, allocations: 90.41 kB / 267.1 MB, free: 9.27 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.08475/0.08475, allocations: 12.6 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.961e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.09953, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3924/0.492, allocations: 77.85 MB / 0.5022 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.4923, allocations: 81.05 kB / 0.5023 GB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003421/0.4957, allocations: 1.564 MB / 0.5038 GB, free: 11.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4958, allocations: 0 / 0.5038 GB, free: 11.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.4958, allocations: 3.969 kB / 0.5038 GB, free: 11.4 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.0002684/0.4961, allocations: 357.1 kB / 0.5041 GB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4961, allocations: 7.531 kB / 0.5041 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.4962, allocations: 11.44 kB / 0.5041 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4963, allocations: 197.5 kB / 0.5043 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4964, allocations: 11.09 kB / 0.5043 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.4964, allocations: 11.31 kB / 0.5044 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.4967, allocations: 199.6 kB / 0.5045 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4968, allocations: 11.62 kB / 0.5046 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4968, allocations: 3.125 kB / 0.5046 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4968, allocations: 4 kB / 0.5046 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.232e-05/0.4969, allocations: 40.09 kB / 0.5046 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001355/0.497, allocations: 181.1 kB / 0.5048 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.4972, allocations: 128.6 kB / 0.5049 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.4973, allocations: 71.09 kB / 0.505 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.4973, allocations: 11.66 kB / 0.505 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.4974, allocations: 36.11 kB / 0.505 GB, free: 10.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.4974, allocations: 0 / 0.505 GB, free: 10.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002027/0.4976, allocations: 120.4 kB / 0.5051 GB, free: 10.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.4976, allocations: 60.8 kB / 0.5052 GB, free: 10.38 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.4977, allocations: 138.7 kB / 0.5053 GB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.4977, allocations: 28.95 kB / 0.5053 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.151e-05/0.4978, allocations: 98.11 kB / 0.5054 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.4978, allocations: 3.5 kB / 0.5054 GB, free: 10.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/0.4978, allocations: 7.031 kB / 0.5055 GB, free: 10.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.616e-05/0.4979, allocations: 319.5 kB / 0.5058 GB, free: 9.836 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.4979, allocations: 18.16 kB / 0.5058 GB, free: 9.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-05/0.498, allocations: 118 kB / 0.5059 GB, free: 9.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.635e-05/0.498, allocations: 42.67 kB / 0.5059 GB, free: 9.699 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.498, allocations: 0 / 0.5059 GB, free: 9.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001795/0.4982, allocations: 149.3 kB / 0.5061 GB, free: 9.641 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4983, allocations: 7.438 kB / 0.5061 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.4983, allocations: 3.781 kB / 0.5061 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4983, allocations: 4.312 kB / 0.5061 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.793e-05/0.4983, allocations: 18.75 kB / 0.5061 GB, free: 9.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.4983, allocations: 11.78 kB / 0.5061 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.4984, allocations: 6.938 kB / 0.5061 GB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.4984, allocations: 7.688 kB / 0.5061 GB, free: 9.625 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 () * 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 7.187e-05/0.4985, allocations: 123.4 kB / 0.5062 GB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.4986, allocations: 118.2 kB / 0.5064 GB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.4987, allocations: 21.38 kB / 0.5064 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.4987, allocations: 0 / 0.5064 GB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4987, allocations: 7.953 kB / 0.5064 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4987, allocations: 2.438 kB / 0.5064 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.856e-05/0.4988, allocations: 177.4 kB / 0.5066 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4988, allocations: 2.391 kB / 0.5066 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.4988, allocations: 3.844 kB / 0.5066 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.4988, allocations: 3.938 kB / 0.5066 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4988, allocations: 11.41 kB / 0.5066 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4988, allocations: 0 / 0.5066 GB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4989, allocations: 3.984 kB / 0.5066 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001467/0.499, allocations: 147.4 kB / 0.5067 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-05/0.4991, allocations: 101.1 kB / 0.5068 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.4991, allocations: 3.844 kB / 0.5068 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.815e-05/0.4991, allocations: 3.5 kB / 0.5068 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.4991, allocations: 0 / 0.5068 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.4991, allocations: 3.844 kB / 0.5068 GB, free: 9.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.793e-05/0.4992, allocations: 103.4 kB / 0.5069 GB, free: 9.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4992, allocations: 3.938 kB / 0.5069 GB, free: 9.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.4994, allocations: 22.81 kB / 0.507 GB, free: 9.004 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 () * 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 9.523e-05/0.4995, allocations: 106.5 kB / 0.5071 GB, free: 8.906 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.4997, allocations: 86.91 kB / 0.5071 GB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4997, allocations: 1 kB / 0.5071 GB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.4997, allocations: 0 / 0.5071 GB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.5, allocations: 82.05 kB / 0.5072 GB, free: 8.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.5003, allocations: 169 kB / 0.5074 GB, free: 8.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.5004, allocations: 0.7146 MB / 0.5081 GB, free: 8.098 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.038e-05/0.5005, allocations: 6.641 kB / 0.5081 GB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.5005, allocations: 11.28 kB / 0.5081 GB, free: 8.09 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5005, allocations: 0 / 0.5081 GB, free: 8.09 MB / 330.7 MB Notification: Performance of Templates: time 0.002869/0.5034, allocations: 0.9197 MB / 0.509 GB, free: 7.988 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/jenkins/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