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.001955/0.001954, allocations: 177.8 kB / 15.8 MB, free: 6.34 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.556/1.556, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0008211/0.0008211, allocations: 90.88 kB / 270.3 MB, free: 13.35 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.07018/0.07018, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006134/0.0006135, allocations: 11.94 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1063, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.21, allocations: 77.87 MB / 0.508 GB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.2102, allocations: 75.91 kB / 0.5081 GB, free: 12.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003684/0.2139, allocations: 1.621 MB / 0.5097 GB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2139, allocations: 0 / 0.5097 GB, free: 11.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2139, allocations: 0 / 0.5097 GB, free: 11.26 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.000325/0.2142, allocations: 398.8 kB / 0.5101 GB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2143, allocations: 8.031 kB / 0.5101 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.49e-05/0.2143, allocations: 11.91 kB / 0.5101 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2145, allocations: 203.1 kB / 0.5103 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.2145, allocations: 8 kB / 0.5103 GB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2145, allocations: 12 kB / 0.5103 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.2148, allocations: 210.7 kB / 0.5105 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.2149, allocations: 0 / 0.5105 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.2149, allocations: 7.984 kB / 0.5105 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2149, allocations: 4 kB / 0.5105 GB, free: 10.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.241e-05/0.215, allocations: 35.92 kB / 0.5106 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.2151, allocations: 189.6 kB / 0.5107 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.2153, allocations: 127 kB / 0.5109 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.824e-06/0.2153, allocations: 0 / 0.5109 GB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.2153, allocations: 34.56 kB / 0.5109 GB, free: 9.871 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 8.72e-07/0.2153, allocations: 4 kB / 0.5109 GB, free: 9.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000236/0.2156, allocations: 149.6 kB / 0.511 GB, free: 9.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.2156, allocations: 67.39 kB / 0.5111 GB, free: 9.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.713e-05/0.2157, allocations: 130.1 kB / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2158, allocations: 29.7 kB / 0.5113 GB, free: 9.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.2158, allocations: 84.47 kB / 0.5113 GB, free: 9.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.2158, allocations: 11.98 kB / 0.5114 GB, free: 9.359 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.2158, allocations: 8 kB / 0.5114 GB, free: 9.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.2159, allocations: 322.8 kB / 0.5117 GB, free: 9.027 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.216, allocations: 19.98 kB / 0.5117 GB, free: 9.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.216, allocations: 121.6 kB / 0.5118 GB, free: 8.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.075e-05/0.2161, allocations: 35.98 kB / 0.5118 GB, free: 8.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.2161, allocations: 4 kB / 0.5118 GB, free: 8.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001833/0.2163, allocations: 161.3 kB / 0.512 GB, free: 8.637 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2163, allocations: 6.969 kB / 0.512 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2163, allocations: 7.938 kB / 0.512 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.2164, allocations: 8 kB / 0.512 GB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.2165, allocations: 31.92 kB / 0.512 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.2165, allocations: 7.953 kB / 0.5121 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.2165, allocations: 19.84 kB / 0.5121 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2165, allocations: 8.344 kB / 0.5121 GB, free: 8.551 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: 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 8.352e-05/0.2166, allocations: 133.8 kB / 0.5122 GB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.2168, allocations: 113.5 kB / 0.5123 GB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.2168, allocations: 21.17 kB / 0.5123 GB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2168, allocations: 4 kB / 0.5123 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2168, allocations: 0 / 0.5123 GB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2168, allocations: 3.953 kB / 0.5123 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.217, allocations: 185.5 kB / 0.5125 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.217, allocations: 0 / 0.5125 GB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/0.217, allocations: 31.92 kB / 0.5126 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2171, allocations: 4 kB / 0.5126 GB, free: 8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.2171, allocations: 7.984 kB / 0.5126 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2171, allocations: 0 / 0.5126 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2171, allocations: 0 / 0.5126 GB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.2173, allocations: 151 kB / 0.5127 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.2173, allocations: 104.8 kB / 0.5128 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.2174, allocations: 11.92 kB / 0.5128 GB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.334e-05/0.2174, allocations: 4 kB / 0.5128 GB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-06/0.2174, allocations: 4 kB / 0.5128 GB, free: 7.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2174, allocations: 4 kB / 0.5128 GB, free: 7.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.2175, allocations: 112.6 kB / 0.5129 GB, free: 7.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2175, allocations: 0 / 0.5129 GB, free: 7.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.2177, allocations: 20 kB / 0.513 GB, free: 7.555 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: 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.946e-05/0.2178, allocations: 91.25 kB / 0.513 GB, free: 7.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.2179, allocations: 92.47 kB / 0.5131 GB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2179, allocations: 0 / 0.5131 GB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2179, allocations: 0 / 0.5131 GB, free: 7.367 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.2182, allocations: 92.53 kB / 0.5132 GB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.2185, allocations: 256 kB / 0.5135 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2188, allocations: 0.7204 MB / 0.5142 GB, free: 6.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.093e-05/0.2188, allocations: 8.641 kB / 0.5142 GB, free: 6.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.526e-05/0.2188, allocations: 19.38 kB / 0.5142 GB, free: 6.223 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2188, allocations: 4 kB / 0.5142 GB, free: 6.219 MB / 362.7 MB Notification: Performance of Templates: time 0.002553/0.2214, allocations: 0.8756 MB / 0.5151 GB, free: 5.352 MB / 362.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/jenkins/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