Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007995/0.0007996, allocations: 179 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 225.7 MB / 243.2 MB, free: 8.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.0007648, allocations: 98.36 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002224/0.0002224, allocations: 8 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1897, allocations: 50.41 MB / 404.6 MB, free: 31.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.0009301/0.1906, allocations: 0.5742 MB / 405.1 MB, free: 30.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002513/0.1909, allocations: 115.7 kB / 405.3 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.191, allocations: 0 / 405.3 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.191, allocations: 3.938 kB / 405.3 MB, free: 30.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.1911, allocations: 7.984 kB / 405.3 MB, free: 30.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.1913, allocations: 27.91 kB / 405.3 MB, free: 30.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.1914, allocations: 32.48 kB / 405.3 MB, free: 30.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.466e-05/0.1915, allocations: 18.17 kB / 405.4 MB, free: 30.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.1915, allocations: 15.88 kB / 405.4 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.717e-05/0.1916, allocations: 19.84 kB / 405.4 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1916, allocations: 5.688 kB / 405.4 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-06/0.1916, allocations: 0 / 405.4 MB, free: 30.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.735e-05/0.1916, allocations: 11.94 kB / 405.4 MB, free: 30.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.207e-05/0.1917, allocations: 49.5 kB / 405.5 MB, free: 30.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.1917, allocations: 47.8 kB / 405.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1918, allocations: 0.8438 kB / 405.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1918, allocations: 0 / 405.5 MB, free: 30.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.845e-06/0.1918, allocations: 0.9375 kB / 405.5 MB, free: 30.43 MB / 298.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.0002301/0.192, allocations: 358.7 kB / 405.8 MB, free: 30.03 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.192, allocations: 12.03 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.579e-05/0.1921, allocations: 8.844 kB / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1922, allocations: 196 kB / 406.1 MB, free: 29.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1922, allocations: 4.375 kB / 406.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.1922, allocations: 5.125 kB / 406.1 MB, free: 29.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.1924, allocations: 130.4 kB / 406.2 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1925, allocations: 8.172 kB / 406.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1925, allocations: 3.938 kB / 406.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1925, allocations: 1.25 kB / 406.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.445e-05/0.1925, allocations: 19.98 kB / 406.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.974e-05/0.1926, allocations: 165.7 kB / 406.4 MB, free: 29.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.76e-05/0.1927, allocations: 72.19 kB / 406.5 MB, free: 29.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.486e-05/0.1928, allocations: 40.89 kB / 406.5 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.1928, allocations: 0 / 406.5 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.1928, allocations: 34.56 kB / 406.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.1928, allocations: 0 / 406.5 MB, free: 29.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001415/0.193, allocations: 89.45 kB / 406.6 MB, free: 29.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.193, allocations: 63.39 kB / 406.7 MB, free: 29.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.1931, allocations: 133.8 kB / 406.8 MB, free: 28.92 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.67e-06/0.1931, allocations: 29.7 kB / 406.8 MB, free: 28.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.946e-05/0.1931, allocations: 88.14 kB / 406.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.1931, allocations: 7.844 kB / 406.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1931, allocations: 0 / 406.9 MB, free: 28.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.1932, allocations: 318.8 kB / 407.3 MB, free: 28.46 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.1932, allocations: 12 kB / 407.3 MB, free: 28.45 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.1932, allocations: 62.8 kB / 407.3 MB, free: 28.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.1933, allocations: 66.81 kB / 407.4 MB, free: 28.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1933, allocations: 4 kB / 407.4 MB, free: 28.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.866e-05/0.1934, allocations: 89.48 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.1934, allocations: 4 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1934, allocations: 3.938 kB / 407.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1934, allocations: 4.25 kB / 407.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.1934, allocations: 15.94 kB / 407.5 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1934, allocations: 4 kB / 407.5 MB, free: 28.15 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.1935, allocations: 3.906 kB / 407.5 MB, free: 28.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1935, allocations: 4 kB / 407.5 MB, free: 28.14 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.1935, allocations: 133.7 kB / 407.6 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.1936, allocations: 65.94 kB / 407.7 MB, free: 27.93 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.1936, allocations: 20.31 kB / 407.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1937, allocations: 0 / 407.7 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1937, allocations: 4 kB / 407.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1937, allocations: 0 / 407.7 MB, free: 27.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.186e-05/0.1937, allocations: 173.5 kB / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1937, allocations: 0 / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.1937, allocations: 4 kB / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1938, allocations: 0 / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.1938, allocations: 3.938 kB / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1938, allocations: 192 / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1938, allocations: 0 / 407.9 MB, free: 27.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.711e-05/0.1939, allocations: 113 kB / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.1939, allocations: 93 kB / 408.1 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1939, allocations: 7.938 kB / 408.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.1939, allocations: 4 kB / 408.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-06/0.194, allocations: 0 / 408.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.194, allocations: 0 / 408.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.194, allocations: 107.2 kB / 408.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.194, allocations: 0 / 408.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001892/0.1942, allocations: 7.938 kB / 408.2 MB, free: 27.31 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.146e-05/0.1943, allocations: 107.2 kB / 408.3 MB, free: 27.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.457e-05/0.1944, allocations: 47.92 kB / 408.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1944, allocations: 0 / 408.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1944, allocations: 0 / 408.4 MB, free: 27.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1946, allocations: 40.81 kB / 408.4 MB, free: 27.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.1949, allocations: 181.3 kB / 408.6 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.195, allocations: 0.6965 MB / 409.3 MB, free: 26.19 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.195, allocations: 3.984 kB / 409.3 MB, free: 26.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.195, allocations: 11.44 kB / 409.3 MB, free: 26.17 MB / 298.7 MB Notification: Performance of SimCode: time 1.9e-07/0.195, allocations: 0 / 409.3 MB, free: 26.17 MB / 298.7 MB Notification: Performance of Templates: time 0.001966/0.197, allocations: 0.5764 MB / 409.9 MB, free: 25.6 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches