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.001724/0.001724, allocations: 178.3 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.3 MB / 213.8 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.0008596/0.0008598, allocations: 94.14 kB / 261.8 MB, free: 1.617 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.06974/0.06974, allocations: 12.6 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.727e-05, allocations: 4 kB / 378.9 MB, free: 6.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2217, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09381/0.3156, allocations: 77.09 MB / 0.4945 GB, free: 5.152 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.3158, allocations: 79.95 kB / 0.4946 GB, free: 5.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003051/0.3189, allocations: 1.192 MB / 0.4958 GB, free: 3.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.058e-05/0.3189, allocations: 7.938 kB / 0.4958 GB, free: 3.875 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.319, allocations: 11.92 kB / 0.4958 GB, free: 3.863 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002668/0.3192, allocations: 334.5 kB / 0.4961 GB, free: 3.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3193, allocations: 12.03 kB / 0.4961 GB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.3193, allocations: 11.84 kB / 0.4961 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3195, allocations: 186.9 kB / 0.4963 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.3195, allocations: 0 / 0.4963 GB, free: 3.246 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.3195, allocations: 7.953 kB / 0.4963 GB, free: 3.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.301e-05/0.3196, allocations: 16 kB / 0.4963 GB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.3198, allocations: 115.3 kB / 0.4964 GB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3198, allocations: 0 / 0.4964 GB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.3198, allocations: 0 / 0.4964 GB, free: 3.098 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.3199, allocations: 4 kB / 0.4964 GB, free: 3.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.32, allocations: 142.2 kB / 0.4966 GB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.3201, allocations: 66.75 kB / 0.4966 GB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.3202, allocations: 40.94 kB / 0.4967 GB, free: 2.801 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.3202, allocations: 3.953 kB / 0.4967 GB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.3202, allocations: 34.56 kB / 0.4967 GB, free: 2.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3202, allocations: 0 / 0.4967 GB, free: 2.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001506/0.3204, allocations: 61.59 kB / 0.4968 GB, free: 2.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.3204, allocations: 55.41 kB / 0.4968 GB, free: 2.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.3205, allocations: 124.3 kB / 0.4969 GB, free: 2.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3205, allocations: 29.64 kB / 0.497 GB, free: 2.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.3206, allocations: 88.14 kB / 0.497 GB, free: 2.371 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.155e-05/0.3206, allocations: 3.984 kB / 0.4971 GB, free: 2.367 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.3206, allocations: 0 / 0.4971 GB, free: 2.367 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3207, allocations: 314.8 kB / 0.4974 GB, free: 2.051 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.586e-05/0.3207, allocations: 12 kB / 0.4974 GB, free: 2.039 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.3208, allocations: 58.8 kB / 0.4974 GB, free: 1.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.548e-05/0.3208, allocations: 12 kB / 0.4974 GB, free: 1.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3208, allocations: 4 kB / 0.4974 GB, free: 1.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.702e-05/0.3209, allocations: 73.56 kB / 0.4975 GB, free: 1.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.321, allocations: 4 kB / 0.4975 GB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.321, allocations: 7.953 kB / 0.4975 GB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.321, allocations: 4 kB / 0.4975 GB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.024e-05/0.321, allocations: 11.92 kB / 0.4975 GB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.321, allocations: 4 kB / 0.4975 GB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.3211, allocations: 256 / 0.4975 GB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3211, allocations: 8 kB / 0.4975 GB, free: 1.824 MB / 346.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 7.186e-05/0.3212, allocations: 114.6 kB / 0.4977 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.3212, allocations: 61.59 kB / 0.4977 GB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.3213, allocations: 8.812 kB / 0.4977 GB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3213, allocations: 7.953 kB / 0.4977 GB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3213, allocations: 3.938 kB / 0.4977 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3213, allocations: 0 / 0.4977 GB, free: 1.617 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.3214, allocations: 142.2 kB / 0.4979 GB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3214, allocations: 11.98 kB / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/0.3214, allocations: 0 / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3214, allocations: 0 / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3214, allocations: 0 / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.3214, allocations: 0 / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3214, allocations: 0 / 0.4979 GB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.3216, allocations: 100.9 kB / 0.498 GB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.3216, allocations: 93 kB / 0.4981 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.3216, allocations: 0 / 0.4981 GB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.395e-05/0.3217, allocations: 4 kB / 0.4981 GB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.3217, allocations: 0 / 0.4981 GB, free: 1.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-06/0.3217, allocations: 4 kB / 0.4981 GB, free: 1.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.386e-05/0.3217, allocations: 103.2 kB / 0.4982 GB, free: 1.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3217, allocations: 0 / 0.4982 GB, free: 1.094 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001865/0.3219, allocations: 11.95 kB / 0.4982 GB, free: 1.082 MB / 346.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 9.309e-05/0.322, allocations: 91.25 kB / 0.4983 GB, free: 0.9844 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.869e-05/0.3221, allocations: 44.41 kB / 0.4983 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3221, allocations: 0 / 0.4983 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.3221, allocations: 0 / 0.4983 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.3224, allocations: 39.33 kB / 0.4983 GB, free: 0.9062 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002419/0.3226, allocations: 108.4 kB / 0.4985 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.3229, allocations: 0.6963 MB / 0.4991 GB, free: 56 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.079e-05/0.3229, allocations: 4.25 kB / 0.4991 GB, free: 52 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.323, allocations: 15.44 kB / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.323, allocations: 0 / 0.4992 GB, free: 36 kB / 346.7 MB Notification: Performance of Templates: time 0.002284/0.3253, allocations: 0.5325 MB / 0.4997 GB, free: 15.51 MB / 362.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