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.00149/0.00149, allocations: 179.9 kB / 15.8 MB, free: 6.34 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.55/1.55, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008836/0.0008836, allocations: 82.88 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06731/0.06731, allocations: 12.58 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003769/0.0003768, allocations: 12.06 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 50.37 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.2365, allocations: 77.84 MB / 0.508 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/0.2368, allocations: 75.95 kB / 0.5081 GB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003194/0.24, allocations: 1.211 MB / 0.5093 GB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2401, allocations: 0 / 0.5093 GB, free: 11.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.2401, allocations: 4 kB / 0.5093 GB, free: 11.72 MB / 362.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.0004091/0.2405, allocations: 355.1 kB / 0.5096 GB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.2406, allocations: 16.03 kB / 0.5096 GB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.2406, allocations: 11.81 kB / 0.5096 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.2409, allocations: 179 kB / 0.5098 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.2409, allocations: 4 kB / 0.5098 GB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2409, allocations: 7.953 kB / 0.5098 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.2413, allocations: 127.2 kB / 0.5099 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2413, allocations: 4 kB / 0.5099 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.2413, allocations: 3.984 kB / 0.5099 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2413, allocations: 4 kB / 0.51 GB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.491e-05/0.2414, allocations: 16 kB / 0.51 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.2415, allocations: 169.6 kB / 0.5101 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2417, allocations: 70.61 kB / 0.5102 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.2417, allocations: 4 kB / 0.5102 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.2418, allocations: 30.56 kB / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2418, allocations: 0 / 0.5102 GB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001914/0.242, allocations: 81.64 kB / 0.5103 GB, free: 10.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.242, allocations: 59.34 kB / 0.5104 GB, free: 10.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.2422, allocations: 129.4 kB / 0.5105 GB, free: 10.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.2422, allocations: 25.7 kB / 0.5105 GB, free: 10.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.2423, allocations: 84.14 kB / 0.5106 GB, free: 10.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.2423, allocations: 11.92 kB / 0.5106 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.2423, allocations: 4 kB / 0.5106 GB, free: 10.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2424, allocations: 314.8 kB / 0.5109 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.065e-05/0.2424, allocations: 11.98 kB / 0.5109 GB, free: 9.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.2425, allocations: 51.03 kB / 0.511 GB, free: 9.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.2425, allocations: 23.94 kB / 0.511 GB, free: 9.723 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2425, allocations: 0 / 0.511 GB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001283/0.2427, allocations: 93.64 kB / 0.5111 GB, free: 9.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2427, allocations: 7.953 kB / 0.5111 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2427, allocations: 4 kB / 0.5111 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2427, allocations: 4 kB / 0.5111 GB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.9e-05/0.2428, allocations: 3.938 kB / 0.5111 GB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.2428, allocations: 4.5 kB / 0.5111 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.119e-05/0.2428, allocations: 0 / 0.5111 GB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.2428, allocations: 7.938 kB / 0.5111 GB, free: 9.594 MB / 362.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 0.0001169/0.243, allocations: 137.9 kB / 0.5112 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.551e-05/0.243, allocations: 81.5 kB / 0.5113 GB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.774e-05/0.2431, allocations: 16.33 kB / 0.5113 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2431, allocations: 0 / 0.5113 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2431, allocations: 0 / 0.5113 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.2431, allocations: 4 kB / 0.5113 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2432, allocations: 173.6 kB / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2433, allocations: 0 / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.2433, allocations: 0 / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.2433, allocations: 0 / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.2433, allocations: 0 / 0.5115 GB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2433, allocations: 11.95 kB / 0.5115 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2433, allocations: 0 / 0.5115 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001115/0.2434, allocations: 93.06 kB / 0.5116 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.2435, allocations: 89 kB / 0.5117 GB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.2435, allocations: 8 kB / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.33e-05/0.2435, allocations: 0 / 0.5117 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-06/0.2436, allocations: 3.953 kB / 0.5117 GB, free: 8.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.2436, allocations: 3.984 kB / 0.5117 GB, free: 8.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.912e-05/0.2436, allocations: 107.3 kB / 0.5118 GB, free: 8.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.953e-06/0.2437, allocations: 0 / 0.5118 GB, free: 8.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001904/0.2438, allocations: 11.94 kB / 0.5118 GB, free: 8.762 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: 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 0.0001142/0.244, allocations: 95.25 kB / 0.5119 GB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.2441, allocations: 43.86 kB / 0.5119 GB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2441, allocations: 0.5 kB / 0.512 GB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2441, allocations: 0 / 0.512 GB, free: 8.617 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2444, allocations: 55.69 kB / 0.512 GB, free: 8.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002994/0.2447, allocations: 167.3 kB / 0.5122 GB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.245, allocations: 0.6965 MB / 0.5128 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.675e-05/0.245, allocations: 8 kB / 0.5129 GB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/0.245, allocations: 11.44 kB / 0.5129 GB, free: 7.629 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.245, allocations: 0 / 0.5129 GB, free: 7.629 MB / 362.7 MB Notification: Performance of Templates: time 0.002594/0.2476, allocations: 0.554 MB / 0.5134 GB, free: 7.086 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