Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|unitDelay1.y|xor.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001595/0.001595, 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.45/1.45, allocations: 205.2 MB / 219 MB, free: 9.203 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.0008069/0.0008072, allocations: 82.62 kB / 267.1 MB, free: 9.273 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.08154/0.08154, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.263e-05, allocations: 4 kB / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09848, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3916/0.4901, allocations: 77.75 MB / 0.5021 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.4904, allocations: 77.44 kB / 0.5021 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002545/0.4929, allocations: 1.209 MB / 0.5033 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.493, allocations: 0 / 0.5033 GB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.493, allocations: 3.906 kB / 0.5033 GB, free: 11.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002309/0.4932, allocations: 336.1 kB / 0.5036 GB, free: 11.26 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4933, allocations: 13.78 kB / 0.5037 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.4933, allocations: 7.781 kB / 0.5037 GB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4935, allocations: 183.8 kB / 0.5038 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4935, allocations: 3.375 kB / 0.5038 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4935, allocations: 11.8 kB / 0.5039 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.4937, allocations: 126.6 kB / 0.504 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4938, allocations: 0 / 0.504 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4938, allocations: 0 / 0.504 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4938, allocations: 0 / 0.504 GB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.228e-05/0.4938, allocations: 25.05 kB / 0.504 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001156/0.494, allocations: 167 kB / 0.5042 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.4941, allocations: 73.53 kB / 0.5042 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.046e-05/0.4941, allocations: 38.25 kB / 0.5043 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.4942, allocations: 0 / 0.5043 GB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.4942, allocations: 43.47 kB / 0.5043 GB, free: 10.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.264e-06/0.4942, allocations: 0 / 0.5043 GB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001409/0.4943, allocations: 77.16 kB / 0.5044 GB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4944, allocations: 59.25 kB / 0.5044 GB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.284e-05/0.4945, allocations: 127.4 kB / 0.5046 GB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.4945, allocations: 25.7 kB / 0.5046 GB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.07e-05/0.4945, allocations: 86.03 kB / 0.5047 GB, free: 10.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.4946, allocations: 7.219 kB / 0.5047 GB, free: 10.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.4946, allocations: 0 / 0.5047 GB, free: 10.39 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.4946, allocations: 316.7 kB / 0.505 GB, free: 10.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.4947, allocations: 7.688 kB / 0.505 GB, free: 10.08 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.4947, allocations: 57.12 kB / 0.505 GB, free: 10.01 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.4948, allocations: 24.89 kB / 0.5051 GB, free: 10 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4948, allocations: 0 / 0.5051 GB, free: 10 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000138/0.4949, allocations: 88.17 kB / 0.5051 GB, free: 9.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4949, allocations: 7.719 kB / 0.5051 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.495, allocations: 2.672 kB / 0.5052 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.495, allocations: 4.094 kB / 0.5052 GB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.495, allocations: 7.969 kB / 0.5052 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.495, allocations: 3.875 kB / 0.5052 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.4951, allocations: 0 / 0.5052 GB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.4951, allocations: 3.844 kB / 0.5052 GB, free: 9.953 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.244e-05/0.4952, allocations: 117 kB / 0.5053 GB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.4953, allocations: 76.3 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.4953, allocations: 8.312 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.4953, allocations: 3.844 kB / 0.5054 GB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4953, allocations: 4 kB / 0.5054 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4954, allocations: 0 / 0.5054 GB, free: 9.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.109e-05/0.4955, allocations: 166.5 kB / 0.5055 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4955, allocations: 0 / 0.5055 GB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.4955, allocations: 6.891 kB / 0.5055 GB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.4955, allocations: 7.844 kB / 0.5055 GB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4955, allocations: 7.828 kB / 0.5056 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4955, allocations: 0 / 0.5056 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4955, allocations: 0 / 0.5056 GB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.4956, allocations: 97.55 kB / 0.5056 GB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.4957, allocations: 97.39 kB / 0.5057 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.4957, allocations: 0 / 0.5057 GB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.4958, allocations: 15.77 kB / 0.5058 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-06/0.4958, allocations: 0 / 0.5058 GB, free: 9.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.4958, allocations: 3.844 kB / 0.5058 GB, free: 9.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.791e-05/0.4959, allocations: 102.7 kB / 0.5059 GB, free: 9.344 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4959, allocations: 3.844 kB / 0.5059 GB, free: 9.344 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.4962, allocations: 3.844 kB / 0.5059 GB, free: 9.344 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001059/0.4963, allocations: 105.4 kB / 0.506 GB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.4964, allocations: 39.53 kB / 0.506 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4964, allocations: 0 / 0.506 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.4964, allocations: 0 / 0.506 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.4967, allocations: 33.69 kB / 0.506 GB, free: 9.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.497, allocations: 113.2 kB / 0.5061 GB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.4972, allocations: 0.7077 MB / 0.5068 GB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.034e-05/0.4972, allocations: 2.625 kB / 0.5068 GB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.4973, allocations: 11.25 kB / 0.5068 GB, free: 8.449 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4973, allocations: 0 / 0.5068 GB, free: 8.449 MB / 330.7 MB Notification: Performance of Templates: time 0.003014/0.5003, allocations: 0.5559 MB / 0.5074 GB, free: 8.371 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches