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.001044/0.001044, allocations: 182.3 kB / 13.23 MB, free: 2.086 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.542/1.542, allocations: 205.2 MB / 219 MB, free: 9.141 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.0008694/0.0008692, allocations: 89.14 kB / 267.1 MB, free: 9.266 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.08029/0.08029, allocations: 12.59 MB / 327.8 MB, free: 12.48 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.309e-05, allocations: 7.984 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 50.37 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5108, allocations: 77.88 MB / 0.5022 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.5111, allocations: 78.89 kB / 0.5023 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003952/0.5151, allocations: 1.682 MB / 0.5039 GB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5151, allocations: 4 kB / 0.5039 GB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5151, allocations: 3.906 kB / 0.5039 GB, free: 11.56 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.0002858/0.5154, allocations: 375.9 kB / 0.5043 GB, free: 11.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.5154, allocations: 10.55 kB / 0.5043 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.5155, allocations: 15.56 kB / 0.5043 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.5157, allocations: 210.3 kB / 0.5045 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5157, allocations: 3.875 kB / 0.5045 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5157, allocations: 11.47 kB / 0.5045 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.5161, allocations: 228.2 kB / 0.5047 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5161, allocations: 3.938 kB / 0.5048 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.5162, allocations: 0 / 0.5048 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.71e-06/0.5162, allocations: 3.875 kB / 0.5048 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.5163, allocations: 46.09 kB / 0.5048 GB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.5164, allocations: 196.5 kB / 0.505 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.5166, allocations: 146.8 kB / 0.5051 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5167, allocations: 80.81 kB / 0.5052 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.5167, allocations: 3.938 kB / 0.5052 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.5167, allocations: 41.52 kB / 0.5052 GB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.173e-06/0.5168, allocations: 0 / 0.5052 GB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000204/0.517, allocations: 128 kB / 0.5054 GB, free: 10.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.517, allocations: 74.44 kB / 0.5054 GB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.5171, allocations: 151 kB / 0.5056 GB, free: 10.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.5171, allocations: 29.39 kB / 0.5056 GB, free: 10.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.485e-05/0.5172, allocations: 91 kB / 0.5057 GB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.936e-05/0.5172, allocations: 11.06 kB / 0.5057 GB, free: 10.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5172, allocations: 7.688 kB / 0.5057 GB, free: 10.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.021e-05/0.5173, allocations: 320.9 kB / 0.506 GB, free: 9.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.014e-05/0.5173, allocations: 25.33 kB / 0.506 GB, free: 9.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.5174, allocations: 115.5 kB / 0.5062 GB, free: 9.844 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.49e-05/0.5174, allocations: 44.08 kB / 0.5062 GB, free: 9.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5175, allocations: 0 / 0.5062 GB, free: 9.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001705/0.5176, allocations: 157 kB / 0.5063 GB, free: 9.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.5177, allocations: 11.62 kB / 0.5064 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5177, allocations: 3.844 kB / 0.5064 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5177, allocations: 7.797 kB / 0.5064 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5178, allocations: 29.88 kB / 0.5064 GB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5178, allocations: 10.5 kB / 0.5064 GB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.5179, allocations: 15.56 kB / 0.5064 GB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5179, allocations: 15.69 kB / 0.5064 GB, free: 9.754 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: 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 6.909e-05/0.518, allocations: 123.7 kB / 0.5066 GB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.5181, allocations: 139.2 kB / 0.5067 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.5182, allocations: 18.78 kB / 0.5067 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5182, allocations: 3.844 kB / 0.5067 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5182, allocations: 3.953 kB / 0.5067 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5182, allocations: 3.141 kB / 0.5067 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.071e-05/0.5183, allocations: 189.9 kB / 0.5069 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5183, allocations: 0 / 0.5069 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.974e-05/0.5184, allocations: 32.83 kB / 0.5069 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5184, allocations: 3.844 kB / 0.5069 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.5184, allocations: 0 / 0.5069 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5184, allocations: 0 / 0.5069 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5184, allocations: 0 / 0.5069 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.5186, allocations: 164.7 kB / 0.5071 GB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.5187, allocations: 105.8 kB / 0.5072 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.5187, allocations: 6.875 kB / 0.5072 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.035e-05/0.5187, allocations: 7.25 kB / 0.5072 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-06/0.5187, allocations: 0 / 0.5072 GB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5188, allocations: 3.906 kB / 0.5072 GB, free: 9.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.5188, allocations: 115.4 kB / 0.5073 GB, free: 9.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5188, allocations: 0 / 0.5073 GB, free: 9.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000202/0.519, allocations: 22.83 kB / 0.5073 GB, free: 9.125 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: 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 9.274e-05/0.5191, allocations: 108.6 kB / 0.5074 GB, free: 9.031 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.5193, allocations: 99.16 kB / 0.5075 GB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5193, allocations: 0 / 0.5075 GB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.5193, allocations: 0 / 0.5075 GB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.5196, allocations: 82.52 kB / 0.5076 GB, free: 9.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002955/0.5199, allocations: 197 kB / 0.5078 GB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.5201, allocations: 0.7184 MB / 0.5085 GB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.5201, allocations: 7.688 kB / 0.5085 GB, free: 8.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.556e-05/0.5201, allocations: 19.06 kB / 0.5085 GB, free: 8.203 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5201, allocations: 0 / 0.5085 GB, free: 8.203 MB / 330.7 MB Notification: Performance of Templates: time 0.003067/0.5232, allocations: 1.036 MB / 0.5095 GB, free: 8.02 MB / 330.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