Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_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_cpp_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.002278/0.002278, allocations: 181.3 kB / 17.46 MB, free: 4.352 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.884/2.884, allocations: 205.4 MB / 223.6 MB, free: 8.93 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.001248/0.001248, allocations: 82.38 kB / 271.9 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1732/0.1732, allocations: 12.2 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007143/0.0007145, allocations: 12 kB / 392.7 MB, free: 67.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1639, allocations: 50.29 MB / 443 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6284/0.7925, allocations: 77.86 MB / 0.5087 GB, free: 13.03 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000403/0.7929, allocations: 82.14 kB / 0.5087 GB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0092/0.8022, allocations: 2.167 MB / 0.5109 GB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.8023, allocations: 0 / 0.5109 GB, free: 12.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.8023, allocations: 0 / 0.5109 GB, free: 12.46 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.0005358/0.8029, allocations: 393.8 kB / 0.5112 GB, free: 12.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.8029, allocations: 11.47 kB / 0.5112 GB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.803, allocations: 12.69 kB / 0.5113 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.8033, allocations: 210.7 kB / 0.5115 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.8033, allocations: 4.125 kB / 0.5115 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.8033, allocations: 7.688 kB / 0.5115 GB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.8039, allocations: 222.5 kB / 0.5117 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.804, allocations: 4 kB / 0.5117 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.804, allocations: 11.09 kB / 0.5117 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.804, allocations: 0 / 0.5117 GB, free: 11.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.8041, allocations: 37.27 kB / 0.5117 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002068/0.8044, allocations: 193 kB / 0.5119 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.8047, allocations: 131.1 kB / 0.512 GB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001726/0.8049, allocations: 72.66 kB / 0.5121 GB, free: 11.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.8049, allocations: 7.781 kB / 0.5121 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.8049, allocations: 30.56 kB / 0.5121 GB, free: 11.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.8049, allocations: 0 / 0.5121 GB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004039/0.8053, allocations: 150.7 kB / 0.5123 GB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.8054, allocations: 62.05 kB / 0.5124 GB, free: 11.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.8056, allocations: 150.2 kB / 0.5125 GB, free: 11.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.8056, allocations: 36.89 kB / 0.5125 GB, free: 11.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.8057, allocations: 91.2 kB / 0.5126 GB, free: 11.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.8057, allocations: 7.562 kB / 0.5126 GB, free: 11.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.8057, allocations: 0 / 0.5126 GB, free: 11.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.8058, allocations: 325.5 kB / 0.5129 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.8059, allocations: 21.83 kB / 0.513 GB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.806, allocations: 124 kB / 0.5131 GB, free: 10.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.8062, allocations: 147.9 kB / 0.5132 GB, free: 10.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8063, allocations: 3.844 kB / 0.5132 GB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003121/0.8066, allocations: 151.4 kB / 0.5134 GB, free: 10.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.8066, allocations: 9.438 kB / 0.5134 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.8066, allocations: 3.844 kB / 0.5134 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/0.8067, allocations: 11.73 kB / 0.5134 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.8069, allocations: 34 kB / 0.5134 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.8069, allocations: 11.83 kB / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.807, allocations: 14.53 kB / 0.5134 GB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.807, allocations: 7.688 kB / 0.5135 GB, free: 10.32 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 0.0001403/0.8072, allocations: 130.9 kB / 0.5136 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.8074, allocations: 111.8 kB / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.033e-05/0.8075, allocations: 18.31 kB / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.8075, allocations: 3.938 kB / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8075, allocations: 3.812 kB / 0.5137 GB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.8075, allocations: 3.984 kB / 0.5137 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.8077, allocations: 197.7 kB / 0.5139 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8077, allocations: 0 / 0.5139 GB, free: 9.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.8078, allocations: 27.2 kB / 0.5139 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.8079, allocations: 0 / 0.5139 GB, free: 9.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.8079, allocations: 7.188 kB / 0.5139 GB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.8079, allocations: 4.641 kB / 0.5139 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8079, allocations: 3.844 kB / 0.5139 GB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002839/0.8082, allocations: 141.8 kB / 0.5141 GB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-05/0.8083, allocations: 104.2 kB / 0.5142 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.8084, allocations: 7.219 kB / 0.5142 GB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.8084, allocations: 7.375 kB / 0.5142 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-06/0.8084, allocations: 0 / 0.5142 GB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.8085, allocations: 7.828 kB / 0.5142 GB, free: 9.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.8086, allocations: 117 kB / 0.5143 GB, free: 9.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8086, allocations: 0 / 0.5143 GB, free: 9.629 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000445/0.8091, allocations: 15 kB / 0.5143 GB, free: 9.629 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 0.000169/0.8093, allocations: 97.77 kB / 0.5144 GB, free: 9.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002967/0.8096, allocations: 97.66 kB / 0.5145 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.8096, allocations: 0 / 0.5145 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.8096, allocations: 0 / 0.5145 GB, free: 9.508 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006217/0.8102, allocations: 81.44 kB / 0.5146 GB, free: 9.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/0.811, allocations: 289.5 kB / 0.5149 GB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.8113, allocations: 0.7116 MB / 0.5156 GB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.8114, allocations: 15.09 kB / 0.5156 GB, free: 8.543 MB / 330.7 MB Notification: Performance of SimCode: time 3.9e-07/0.8114, allocations: 0 / 0.5156 GB, free: 8.543 MB / 330.7 MB Notification: Performance of Templates: time 0.004699/0.8161, allocations: 1.197 MB / 0.5167 GB, free: 7.941 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches