Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sum1.y|sum2.y|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00221/0.00221, allocations: 187.1 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.121/2.121, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00105/0.00105, allocations: 82.72 kB / 267.5 MB, free: 14.05 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.09886/0.09886, allocations: 12.59 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.222e-05, allocations: 0 / 386 MB, free: 1.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3124, allocations: 50.37 MB / 436.3 MB, free: 14.17 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1466/0.4591, allocations: 77.89 MB / 0.5022 GB, free: 180 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/0.4595, allocations: 79.95 kB / 0.5023 GB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007089/0.4666, allocations: 1.681 MB / 0.5039 GB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4666, allocations: 0 / 0.5039 GB, free: 14.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.4667, allocations: 8 kB / 0.5039 GB, free: 14.39 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.0004758/0.4671, allocations: 374.2 kB / 0.5043 GB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.4672, allocations: 12.03 kB / 0.5043 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.4673, allocations: 11.81 kB / 0.5043 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.4676, allocations: 210.8 kB / 0.5045 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4676, allocations: 11.94 kB / 0.5045 GB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.4677, allocations: 11.94 kB / 0.5045 GB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.4683, allocations: 234.9 kB / 0.5047 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.4683, allocations: 0 / 0.5047 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.4684, allocations: 0 / 0.5047 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.4684, allocations: 4 kB / 0.5047 GB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.4685, allocations: 53.45 kB / 0.5048 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.4688, allocations: 189.5 kB / 0.505 GB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.4692, allocations: 142.9 kB / 0.5051 GB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002041/0.4694, allocations: 85.2 kB / 0.5052 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.4694, allocations: 3.938 kB / 0.5052 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.4695, allocations: 38.56 kB / 0.5052 GB, free: 12.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.4695, allocations: 0 / 0.5052 GB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003723/0.4699, allocations: 134.4 kB / 0.5054 GB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.4699, allocations: 71.19 kB / 0.5054 GB, free: 12.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.4702, allocations: 150.3 kB / 0.5056 GB, free: 12.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.4702, allocations: 25.7 kB / 0.5056 GB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.4703, allocations: 154.9 kB / 0.5057 GB, free: 12.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.4703, allocations: 15.89 kB / 0.5058 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.4703, allocations: 4 kB / 0.5058 GB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4705, allocations: 318.8 kB / 0.5061 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.905e-05/0.4706, allocations: 20 kB / 0.5061 GB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4707, allocations: 113.7 kB / 0.5062 GB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.4708, allocations: 51.91 kB / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4709, allocations: 0 / 0.5062 GB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003367/0.4712, allocations: 153.4 kB / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4712, allocations: 4 kB / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4713, allocations: 4 kB / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.4713, allocations: 15.94 kB / 0.5064 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4715, allocations: 31.92 kB / 0.5064 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/0.4716, allocations: 7.938 kB / 0.5064 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.649e-05/0.4717, allocations: 11.94 kB / 0.5065 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.4717, allocations: 12 kB / 0.5065 GB, free: 11.5 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 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,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.0001448/0.4719, allocations: 129.2 kB / 0.5066 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/0.4722, allocations: 134.8 kB / 0.5067 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.45e-05/0.4723, allocations: 20.75 kB / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4723, allocations: 0 / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4723, allocations: 3.953 kB / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.4723, allocations: 0 / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4725, allocations: 193.5 kB / 0.5069 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4725, allocations: 3.938 kB / 0.5069 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.4727, allocations: 27.94 kB / 0.507 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.4728, allocations: 7.984 kB / 0.507 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.4728, allocations: 8 kB / 0.507 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4728, allocations: 0 / 0.507 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4728, allocations: 0 / 0.507 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.4731, allocations: 161.2 kB / 0.5071 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4733, allocations: 108.8 kB / 0.5072 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.4733, allocations: 0 / 0.5072 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.683e-05/0.4734, allocations: 11.98 kB / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-06/0.4734, allocations: 0 / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4734, allocations: 4 kB / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.4736, allocations: 116.1 kB / 0.5074 GB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4736, allocations: 0 / 0.5074 GB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003181/0.4739, allocations: 23.95 kB / 0.5074 GB, free: 10.47 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,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.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.0001589/0.4741, allocations: 103.2 kB / 0.5075 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.4744, allocations: 99.78 kB / 0.5076 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4744, allocations: 0 / 0.5076 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4744, allocations: 0 / 0.5076 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.4748, allocations: 84.48 kB / 0.5077 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.4754, allocations: 212.4 kB / 0.5079 GB, free: 9.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.4759, allocations: 0.7243 MB / 0.5086 GB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.4759, allocations: 19.44 kB / 0.5086 GB, free: 9.18 MB / 362.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4759, allocations: 0 / 0.5086 GB, free: 9.18 MB / 362.7 MB Notification: Performance of Templates: time 0.004214/0.4802, allocations: 1.328 MB / 0.5099 GB, free: 7.852 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches