Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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/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/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_cpp_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_cpp_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.0008833/0.0008833, allocations: 180.7 kB / 17.46 MB, free: 4.355 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.405/1.405, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007607/0.0007608, allocations: 92.98 kB / 271.9 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07116/0.07116, allocations: 12.2 MB / 332.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 16 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09102, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.396, allocations: 77.82 MB / 0.5086 GB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3962, allocations: 73.19 kB / 0.5087 GB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003883/0.4001, allocations: 1.772 MB / 0.5104 GB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4002, allocations: 0 / 0.5104 GB, free: 12.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.956e-06/0.4002, allocations: 0 / 0.5104 GB, free: 12.66 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.000293/0.4005, allocations: 362.8 kB / 0.5108 GB, free: 12.28 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4005, allocations: 11.53 kB / 0.5108 GB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.4006, allocations: 8.688 kB / 0.5108 GB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.4007, allocations: 195.7 kB / 0.511 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4007, allocations: 3.938 kB / 0.511 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.4008, allocations: 4.188 kB / 0.511 GB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.401, allocations: 139.1 kB / 0.5111 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.4011, allocations: 192 / 0.5111 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4011, allocations: 11.62 kB / 0.5111 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4011, allocations: 0 / 0.5111 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.4011, allocations: 23.03 kB / 0.5112 GB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.4013, allocations: 167.8 kB / 0.5113 GB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.4014, allocations: 67.34 kB / 0.5114 GB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.794e-05/0.4014, allocations: 38.2 kB / 0.5114 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.4015, allocations: 0 / 0.5114 GB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.4015, allocations: 38.48 kB / 0.5115 GB, free: 11.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.4015, allocations: 0 / 0.5115 GB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.000164/0.4017, allocations: 90.64 kB / 0.5115 GB, free: 11.63 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4017, allocations: 55.34 kB / 0.5116 GB, free: 11.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.855e-05/0.4018, allocations: 136.1 kB / 0.5117 GB, free: 11.46 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-06/0.4018, allocations: 29.7 kB / 0.5118 GB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.288e-05/0.4018, allocations: 87.75 kB / 0.5118 GB, free: 11.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.4019, allocations: 7.781 kB / 0.5118 GB, free: 11.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-06/0.4019, allocations: 0 / 0.5118 GB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.4019, allocations: 314.1 kB / 0.5121 GB, free: 11.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.4019, allocations: 15.52 kB / 0.5122 GB, free: 11.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.35e-05/0.402, allocations: 57.94 kB / 0.5122 GB, free: 10.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.939e-05/0.402, allocations: 74.95 kB / 0.5123 GB, free: 10.88 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4021, allocations: 0 / 0.5123 GB, free: 10.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.903e-05/0.4022, allocations: 86.84 kB / 0.5124 GB, free: 10.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.4022, allocations: 3.875 kB / 0.5124 GB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4022, allocations: 7.781 kB / 0.5124 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.4022, allocations: 4.25 kB / 0.5124 GB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.892e-05/0.4022, allocations: 14.64 kB / 0.5124 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4023, allocations: 3.844 kB / 0.5124 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.961e-05/0.4023, allocations: 3.938 kB / 0.5124 GB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.4023, allocations: 3.75 kB / 0.5124 GB, free: 10.81 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 5.667e-05/0.4024, allocations: 124.1 kB / 0.5125 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.4024, allocations: 79.11 kB / 0.5126 GB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.4025, allocations: 18.23 kB / 0.5126 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4025, allocations: 7.938 kB / 0.5126 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4025, allocations: 0 / 0.5126 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4025, allocations: 0 / 0.5126 GB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.907e-05/0.4026, allocations: 163.3 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4026, allocations: 0 / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.026e-05/0.4026, allocations: 0 / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4026, allocations: 3.875 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.4026, allocations: 7.625 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.4026, allocations: 3.984 kB / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4026, allocations: 0 / 0.5128 GB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/0.4027, allocations: 101.2 kB / 0.5129 GB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.4028, allocations: 91.44 kB / 0.513 GB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.4028, allocations: 7.688 kB / 0.513 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.4028, allocations: 2.312 kB / 0.513 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-06/0.4028, allocations: 0 / 0.513 GB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.4028, allocations: 4 kB / 0.513 GB, free: 10.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.994e-05/0.4029, allocations: 105.1 kB / 0.5131 GB, free: 10.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4029, allocations: 0 / 0.5131 GB, free: 10.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001924/0.4031, allocations: 10.25 kB / 0.5131 GB, free: 10.16 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 6.999e-05/0.4031, allocations: 102.5 kB / 0.5132 GB, free: 10.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.4032, allocations: 48.3 kB / 0.5132 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4032, allocations: 0 / 0.5132 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-07/0.4033, allocations: 0 / 0.5132 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4035, allocations: 38.05 kB / 0.5133 GB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.4038, allocations: 206.5 kB / 0.5135 GB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.4039, allocations: 0.692 MB / 0.5142 GB, free: 9.156 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.4039, allocations: 7.438 kB / 0.5142 GB, free: 9.148 MB / 330.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4039, allocations: 3.875 kB / 0.5142 GB, free: 9.148 MB / 330.7 MB Notification: Performance of Templates: time 0.00173/0.4057, allocations: 0.7901 MB / 0.5149 GB, free: 8.75 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches