Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_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_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.0009835/0.0009832, allocations: 178.7 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.509/1.509, 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.0008375/0.0008375, allocations: 86.86 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.07791/0.07791, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.000435, allocations: 12.41 kB / 392 MB, free: 54.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 50.37 MB / 442.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1179/0.2323, allocations: 77.96 MB / 0.5081 GB, free: 12.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.2326, allocations: 75.95 kB / 0.5082 GB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004437/0.237, allocations: 1.693 MB / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.237, allocations: 0 / 0.5099 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.2371, allocations: 3.938 kB / 0.5099 GB, free: 11.09 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.0004304/0.2375, allocations: 394.9 kB / 0.5102 GB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2376, allocations: 12.03 kB / 0.5103 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.2376, allocations: 15.75 kB / 0.5103 GB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.2378, allocations: 206.8 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.2379, allocations: 8 kB / 0.5105 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.2379, allocations: 8 kB / 0.5105 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2383, allocations: 234.8 kB / 0.5107 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2383, allocations: 0 / 0.5107 GB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.2384, allocations: 4 kB / 0.5107 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2384, allocations: 0 / 0.5107 GB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.491e-05/0.2385, allocations: 56.16 kB / 0.5108 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001738/0.2386, allocations: 197.5 kB / 0.511 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2389, allocations: 147 kB / 0.5111 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.2389, allocations: 0 / 0.5111 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.2389, allocations: 38.44 kB / 0.5111 GB, free: 9.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.2389, allocations: 0 / 0.5111 GB, free: 9.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003035/0.2393, allocations: 177.7 kB / 0.5113 GB, free: 9.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.2393, allocations: 67.41 kB / 0.5114 GB, free: 9.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2395, allocations: 157 kB / 0.5115 GB, free: 9.211 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2395, allocations: 25.7 kB / 0.5115 GB, free: 9.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.2395, allocations: 92.47 kB / 0.5116 GB, free: 9.082 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.2396, allocations: 15.83 kB / 0.5116 GB, free: 9.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.2396, allocations: 4 kB / 0.5116 GB, free: 9.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2397, allocations: 322.8 kB / 0.512 GB, free: 8.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.315e-05/0.2398, allocations: 19.98 kB / 0.512 GB, free: 8.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.2399, allocations: 121.7 kB / 0.5121 GB, free: 8.551 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.2399, allocations: 43.92 kB / 0.5121 GB, free: 8.508 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2399, allocations: 4 kB / 0.5121 GB, free: 8.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001944/0.2401, allocations: 157.2 kB / 0.5123 GB, free: 8.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.2402, allocations: 10.97 kB / 0.5123 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2402, allocations: 0.5 kB / 0.5123 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2402, allocations: 12 kB / 0.5123 GB, free: 8.324 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2403, allocations: 39.88 kB / 0.5123 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.2403, allocations: 7.984 kB / 0.5124 GB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.2404, allocations: 15.84 kB / 0.5124 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.2404, allocations: 12 kB / 0.5124 GB, free: 8.25 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 () * 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.0001176/0.2406, allocations: 137.8 kB / 0.5125 GB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.2407, allocations: 129.5 kB / 0.5126 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.2408, allocations: 29.17 kB / 0.5127 GB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2408, allocations: 4 kB / 0.5127 GB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2408, allocations: 3.953 kB / 0.5127 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2408, allocations: 0 / 0.5127 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.2409, allocations: 189.5 kB / 0.5129 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.241, allocations: 0 / 0.5129 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.2411, allocations: 23.98 kB / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2411, allocations: 0 / 0.5129 GB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2411, allocations: 11.94 kB / 0.5129 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2411, allocations: 3.984 kB / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2411, allocations: 0 / 0.5129 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.2413, allocations: 170.8 kB / 0.5131 GB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.2414, allocations: 105 kB / 0.5132 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.2414, allocations: 0 / 0.5132 GB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.2415, allocations: 11.98 kB / 0.5132 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-06/0.2415, allocations: 0 / 0.5132 GB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2415, allocations: 0 / 0.5132 GB, free: 7.352 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.838e-05/0.2416, allocations: 119.2 kB / 0.5133 GB, free: 7.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2416, allocations: 0 / 0.5133 GB, free: 7.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.2418, allocations: 20 kB / 0.5133 GB, free: 7.215 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 () * 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.0001195/0.2419, allocations: 103.2 kB / 0.5134 GB, free: 7.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.2421, allocations: 100.6 kB / 0.5135 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2421, allocations: 192 / 0.5135 GB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.2421, allocations: 4 kB / 0.5135 GB, free: 7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/0.2424, allocations: 101.1 kB / 0.5136 GB, free: 6.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.2428, allocations: 275.9 kB / 0.5139 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.2431, allocations: 0.7243 MB / 0.5146 GB, free: 5.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.233e-05/0.2431, allocations: 9.094 kB / 0.5146 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.2432, allocations: 11.44 kB / 0.5146 GB, free: 5.832 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2432, allocations: 0 / 0.5146 GB, free: 5.832 MB / 362.7 MB Notification: Performance of Templates: time 0.003095/0.2463, allocations: 1.036 MB / 0.5156 GB, free: 4.801 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches