Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_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_cpp_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.002173/0.002172, allocations: 177.8 kB / 8.405 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 82.23 kB / 262.1 MB, free: 1.625 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.1045/0.1045, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.449e-05, allocations: 4 kB / 378.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3133, allocations: 50.37 MB / 429.3 MB, free: 18.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.4581, allocations: 77.22 MB / 0.4946 GB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.4585, allocations: 79.94 kB / 0.4947 GB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00699/0.4655, allocations: 1.674 MB / 0.4963 GB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.4655, allocations: 0 / 0.4963 GB, free: 3.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.4656, allocations: 4 kB / 0.4963 GB, free: 3.34 MB / 346.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.0004956/0.4661, allocations: 378.2 kB / 0.4967 GB, free: 2.926 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.4661, allocations: 12.03 kB / 0.4967 GB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.4662, allocations: 19.81 kB / 0.4967 GB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4665, allocations: 205.3 kB / 0.4969 GB, free: 2.656 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.4666, allocations: 7.938 kB / 0.4969 GB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.4666, allocations: 7.938 kB / 0.4969 GB, free: 2.641 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000188/0.4668, allocations: 47.97 kB / 0.497 GB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.4673, allocations: 218.4 kB / 0.4972 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4674, allocations: 4 kB / 0.4972 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.4674, allocations: 0 / 0.4972 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4674, allocations: 0 / 0.4972 GB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.4676, allocations: 162.1 kB / 0.4974 GB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003529/0.468, allocations: 136.5 kB / 0.4975 GB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.4682, allocations: 80.78 kB / 0.4976 GB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4682, allocations: 4 kB / 0.4976 GB, free: 1.945 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4683, allocations: 34.55 kB / 0.4976 GB, free: 1.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 6.983e-06/0.4683, allocations: 0 / 0.4976 GB, free: 1.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003499/0.4687, allocations: 127 kB / 0.4977 GB, free: 1.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.4687, allocations: 63.25 kB / 0.4978 GB, free: 1.699 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.469, allocations: 149.2 kB / 0.4979 GB, free: 1.543 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.469, allocations: 25.7 kB / 0.4979 GB, free: 1.512 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.4691, allocations: 154.9 kB / 0.4981 GB, free: 1.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.4691, allocations: 11.91 kB / 0.4981 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.4691, allocations: 0 / 0.4981 GB, free: 1.344 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4693, allocations: 322.8 kB / 0.4984 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.852e-05/0.4693, allocations: 12 kB / 0.4984 GB, free: 1.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4695, allocations: 121.7 kB / 0.4985 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.393e-05/0.4696, allocations: 31.98 kB / 0.4986 GB, free: 0.8086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.4696, allocations: 4 kB / 0.4986 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003065/0.47, allocations: 133.2 kB / 0.4987 GB, free: 0.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.47, allocations: 8 kB / 0.4987 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.47, allocations: 7.984 kB / 0.4987 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.47, allocations: 4.5 kB / 0.4987 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.4703, allocations: 35.94 kB / 0.4988 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.4703, allocations: 7.984 kB / 0.4988 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.972e-05/0.4704, allocations: 11.89 kB / 0.4988 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.4704, allocations: 12 kB / 0.4988 GB, free: 0.582 MB / 346.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 0.0001453/0.4706, allocations: 116.9 kB / 0.4989 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.4709, allocations: 123.2 kB / 0.499 GB, free: 344 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.234e-05/0.471, allocations: 12.75 kB / 0.499 GB, free: 332 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-06/0.471, allocations: 11.94 kB / 0.499 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.471, allocations: 0 / 0.499 GB, free: 320 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.471, allocations: 3.984 kB / 0.499 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.4712, allocations: 158.2 kB / 0.4992 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4712, allocations: 0 / 0.4992 GB, free: 120 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.4715, allocations: 27.92 kB / 0.4992 GB, free: 92 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4715, allocations: 4 kB / 0.4992 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4715, allocations: 4 kB / 0.4992 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4715, allocations: 0 / 0.4992 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4715, allocations: 0 / 0.4992 GB, free: 84 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.4719, allocations: 163.3 kB / 0.4994 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.4721, allocations: 108.8 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.4721, allocations: 0 / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.4722, allocations: 8 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.058e-06/0.4722, allocations: 0 / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.4722, allocations: 3.984 kB / 0.4995 GB, free: 15.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4724, allocations: 115.9 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4724, allocations: 0 / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.4727, allocations: 20 kB / 0.4996 GB, free: 15.64 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 () * 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.00016/0.4729, allocations: 104.5 kB / 0.4997 GB, free: 15.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.4732, allocations: 87.78 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4732, allocations: 1 kB / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.4732, allocations: 0 / 0.4998 GB, free: 15.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.4737, allocations: 91.2 kB / 0.4999 GB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.4742, allocations: 202.4 kB / 0.5001 GB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.4746, allocations: 0.724 MB / 0.5008 GB, free: 14.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.4747, allocations: 15.44 kB / 0.5008 GB, free: 14.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4747, allocations: 0 / 0.5008 GB, free: 14.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004307/0.479, allocations: 1.294 MB / 0.5021 GB, free: 13.07 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.AssignClockVectorized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches