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.001039/0.001038, allocations: 172.6 kB / 16.8 MB, free: 4.902 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.407/1.407, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0009612/0.0009609, allocations: 85.92 kB / 271.3 MB, free: 8.234 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.08659/0.08659, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004236/0.0004237, allocations: 23.98 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09137, allocations: 50.36 MB / 443.6 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.4177, allocations: 77.86 MB / 0.5092 GB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.418, allocations: 73.3 kB / 0.5093 GB, free: 13.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002934/0.421, allocations: 1.216 MB / 0.5105 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.421, allocations: 0 / 0.5105 GB, free: 13.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.421, allocations: 3.938 kB / 0.5105 GB, free: 13.01 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.0002959/0.4213, allocations: 357 kB / 0.5108 GB, free: 12.63 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4214, allocations: 10.69 kB / 0.5109 GB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.4214, allocations: 14.09 kB / 0.5109 GB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4216, allocations: 193.2 kB / 0.511 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.4216, allocations: 384 / 0.511 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.4216, allocations: 7.406 kB / 0.5111 GB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.4219, allocations: 131.9 kB / 0.5112 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4219, allocations: 4.172 kB / 0.5112 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.4219, allocations: 3.938 kB / 0.5112 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4219, allocations: 0 / 0.5112 GB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.148e-05/0.422, allocations: 23.39 kB / 0.5112 GB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.4221, allocations: 168.2 kB / 0.5114 GB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4222, allocations: 64.27 kB / 0.5114 GB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.4223, allocations: 34.41 kB / 0.5115 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.4223, allocations: 3.906 kB / 0.5115 GB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.4223, allocations: 38.48 kB / 0.5115 GB, free: 12.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.4224, allocations: 0 / 0.5115 GB, free: 12.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001812/0.4225, allocations: 91.56 kB / 0.5116 GB, free: 12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.4226, allocations: 51.41 kB / 0.5116 GB, free: 11.94 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4227, allocations: 140.6 kB / 0.5118 GB, free: 11.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.4227, allocations: 25.7 kB / 0.5118 GB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.902e-05/0.4227, allocations: 83.64 kB / 0.5119 GB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.48e-05/0.4228, allocations: 11.77 kB / 0.5119 GB, free: 11.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.4228, allocations: 3.062 kB / 0.5119 GB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.4228, allocations: 314.2 kB / 0.5122 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.625e-05/0.4229, allocations: 7.531 kB / 0.5122 GB, free: 11.39 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.4229, allocations: 65.48 kB / 0.5123 GB, free: 11.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.423, allocations: 72.7 kB / 0.5123 GB, free: 11.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.423, allocations: 3.875 kB / 0.5123 GB, free: 11.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.957e-05/0.4231, allocations: 78.09 kB / 0.5124 GB, free: 11.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4231, allocations: 7.781 kB / 0.5124 GB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4231, allocations: 8.438 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.4231, allocations: 3.906 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-05/0.4232, allocations: 11.47 kB / 0.5124 GB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4232, allocations: 3.984 kB / 0.5124 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.4232, allocations: 8 kB / 0.5125 GB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.4232, allocations: 3.656 kB / 0.5125 GB, free: 11.18 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 () * Number of clocked states: 1 (unitDelay1.u) * 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.423e-05/0.4233, allocations: 130.1 kB / 0.5126 GB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.4234, allocations: 75.03 kB / 0.5127 GB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.4234, allocations: 19.78 kB / 0.5127 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.4234, allocations: 0 / 0.5127 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4234, allocations: 0 / 0.5127 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4234, allocations: 3.938 kB / 0.5127 GB, free: 11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.678e-05/0.4235, allocations: 171.4 kB / 0.5128 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4235, allocations: 0 / 0.5128 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.4236, allocations: 3.969 kB / 0.5128 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4236, allocations: 0 / 0.5128 GB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-06/0.4236, allocations: 3.938 kB / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4236, allocations: 0 / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4236, allocations: 0 / 0.5128 GB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.4237, allocations: 102.2 kB / 0.5129 GB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/0.4237, allocations: 96.03 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4238, allocations: 7.922 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.369e-05/0.4238, allocations: 3.5 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-06/0.4238, allocations: 0 / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4238, allocations: 3.594 kB / 0.513 GB, free: 10.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.567e-05/0.4238, allocations: 97.8 kB / 0.5131 GB, free: 10.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4239, allocations: 4 kB / 0.5131 GB, free: 10.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.424, allocations: 7.688 kB / 0.5132 GB, free: 10.52 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 () * Number of clocked states: 1 (unitDelay1.u) * 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 8.709e-05/0.4241, allocations: 98.7 kB / 0.5132 GB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001057/0.4243, allocations: 41.83 kB / 0.5133 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4243, allocations: 0 / 0.5133 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.4243, allocations: 3.875 kB / 0.5133 GB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.4246, allocations: 38.58 kB / 0.5133 GB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.4249, allocations: 172.2 kB / 0.5135 GB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.425, allocations: 0.699 MB / 0.5142 GB, free: 9.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.4251, allocations: 7.781 kB / 0.5142 GB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.4251, allocations: 15.28 kB / 0.5142 GB, free: 9.543 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4251, allocations: 0 / 0.5142 GB, free: 9.543 MB / 330.7 MB Notification: Performance of Templates: time 0.002412/0.4275, allocations: 0.563 MB / 0.5147 GB, free: 9.266 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/jenkins1/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