Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.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.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y.1.|assignClock1.y.2.|unitDelay1.y|unitDelay2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 171.5 kB / 16.8 MB, free: 4.906 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.522/1.522, allocations: 205.4 MB / 223 MB, free: 9.016 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.0009095/0.0009095, allocations: 81.44 kB / 271.3 MB, free: 8.25 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.08453/0.08453, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004005/0.0004007, allocations: 15.98 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.08916, allocations: 50.37 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.3891, allocations: 77.9 MB / 0.5093 GB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.3894, allocations: 74 kB / 0.5094 GB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003722/0.3932, allocations: 1.618 MB / 0.5109 GB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3932, allocations: 0 / 0.5109 GB, free: 12.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.3932, allocations: 0 / 0.5109 GB, free: 12.91 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.0003177/0.3935, allocations: 395.6 kB / 0.5113 GB, free: 12.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3936, allocations: 7.719 kB / 0.5113 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.3936, allocations: 12.53 kB / 0.5113 GB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3938, allocations: 214.9 kB / 0.5115 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3938, allocations: 4.25 kB / 0.5115 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.3938, allocations: 7.844 kB / 0.5115 GB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.3942, allocations: 212.2 kB / 0.5117 GB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3942, allocations: 4 kB / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3942, allocations: 3.875 kB / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3942, allocations: 3.844 kB / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.085e-05/0.3943, allocations: 34.42 kB / 0.5118 GB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.3944, allocations: 184.2 kB / 0.512 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3946, allocations: 133.1 kB / 0.5121 GB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.413e-05/0.3947, allocations: 80.12 kB / 0.5122 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.3947, allocations: 3.938 kB / 0.5122 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.3947, allocations: 42.34 kB / 0.5122 GB, free: 11.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.3947, allocations: 0 / 0.5122 GB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002337/0.395, allocations: 146.7 kB / 0.5124 GB, free: 11.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.395, allocations: 70.16 kB / 0.5124 GB, free: 11.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3951, allocations: 143.9 kB / 0.5126 GB, free: 11.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.3952, allocations: 29.7 kB / 0.5126 GB, free: 11.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.3952, allocations: 91.31 kB / 0.5127 GB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.3952, allocations: 7.609 kB / 0.5127 GB, free: 11.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.3952, allocations: 3.812 kB / 0.5127 GB, free: 11.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.3953, allocations: 321.6 kB / 0.513 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.3953, allocations: 18.88 kB / 0.513 GB, free: 11.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.3954, allocations: 123.4 kB / 0.5131 GB, free: 11.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.579e-05/0.3955, allocations: 155.6 kB / 0.5133 GB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3955, allocations: 0 / 0.5133 GB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000159/0.3957, allocations: 160.3 kB / 0.5134 GB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3957, allocations: 5.719 kB / 0.5134 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3957, allocations: 3.844 kB / 0.5134 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3957, allocations: 7.656 kB / 0.5134 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.692e-05/0.3958, allocations: 34.92 kB / 0.5135 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3958, allocations: 4.344 kB / 0.5135 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.103e-05/0.3959, allocations: 19.5 kB / 0.5135 GB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3959, allocations: 7.719 kB / 0.5135 GB, free: 10.78 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: 0 () * 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 6.729e-05/0.396, allocations: 136 kB / 0.5136 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.3961, allocations: 112.3 kB / 0.5137 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.3961, allocations: 23.83 kB / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3962, allocations: 3.844 kB / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3962, allocations: 3.984 kB / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3962, allocations: 0 / 0.5138 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.557e-05/0.3963, allocations: 191.2 kB / 0.514 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3963, allocations: 7.812 kB / 0.514 GB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/0.3963, allocations: 26.77 kB / 0.514 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3964, allocations: 0 / 0.514 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.3964, allocations: 3.938 kB / 0.514 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3964, allocations: 3.812 kB / 0.514 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3964, allocations: 0 / 0.514 GB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.3965, allocations: 151 kB / 0.5141 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.3966, allocations: 111.9 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3966, allocations: 4 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.3966, allocations: 3.125 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.3966, allocations: 0 / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.3966, allocations: 3.844 kB / 0.5143 GB, free: 10.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.3967, allocations: 113.2 kB / 0.5144 GB, free: 10.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3967, allocations: 0 / 0.5144 GB, free: 10.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.3969, allocations: 13.91 kB / 0.5144 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: 0 () * 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 7.442e-05/0.397, allocations: 98.06 kB / 0.5145 GB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3971, allocations: 88.06 kB / 0.5146 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3971, allocations: 0 / 0.5146 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.3971, allocations: 0 / 0.5146 GB, free: 9.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3975, allocations: 89.5 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.0003023/0.3978, allocations: 261 kB / 0.5149 GB, free: 9.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.3979, allocations: 0.7185 MB / 0.5156 GB, free: 9.047 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.828e-05/0.3979, allocations: 8.5 kB / 0.5156 GB, free: 9.043 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.346e-05/0.398, allocations: 19.23 kB / 0.5156 GB, free: 9.031 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.398, allocations: 0 / 0.5156 GB, free: 9.031 MB / 330.7 MB Notification: Performance of Templates: time 0.002703/0.4007, allocations: 0.8915 MB / 0.5165 GB, free: 8.605 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches