Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 112.5 kB / 17.69 MB, free: 5.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 191 kB / 18.63 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 50.92 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1559, allocations: 49.44 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.004552/0.1605, allocations: 0.8605 MB / 352.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000704/0.1613, allocations: 111.6 kB / 352.5 MB, free: 2.746 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.1615, allocations: 4 kB / 352.5 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.165e-05/0.1616, allocations: 7.938 kB / 352.5 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1619, allocations: 3.938 kB / 352.5 MB, free: 2.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.1624, allocations: 46.02 kB / 352.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.1626, allocations: 35.86 kB / 352.6 MB, free: 2.652 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.1628, allocations: 23.98 kB / 352.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.1629, allocations: 19.91 kB / 352.6 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.1629, allocations: 15.92 kB / 352.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.163, allocations: 8 kB / 352.6 MB, free: 2.586 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.03e-05/0.163, allocations: 4 kB / 352.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.699e-05/0.1631, allocations: 11.94 kB / 352.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.1632, allocations: 27.8 kB / 352.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.1634, allocations: 59.67 kB / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1634, allocations: 0 / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1634, allocations: 0 / 352.7 MB, free: 2.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1635, allocations: 0 / 352.7 MB, free: 2.484 MB / 286.1 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.0006117/0.1641, allocations: 367.2 kB / 353.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1641, allocations: 12.03 kB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.1642, allocations: 8.844 kB / 353.1 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.1646, allocations: 188.2 kB / 353.3 MB, free: 1.832 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.1647, allocations: 4.375 kB / 353.3 MB, free: 1.828 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.1647, allocations: 4.375 kB / 353.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.1652, allocations: 139.7 kB / 353.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1652, allocations: 192 / 353.4 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.1653, allocations: 7.938 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1653, allocations: 3.938 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.989e-05/0.1654, allocations: 15.98 kB / 353.5 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.1657, allocations: 169.6 kB / 353.6 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.1659, allocations: 70.66 kB / 353.7 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.166, allocations: 40.89 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.1661, allocations: 0 / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.1661, allocations: 42.55 kB / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.542e-06/0.1661, allocations: 0 / 353.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002774/0.1664, allocations: 85.47 kB / 353.9 MB, free: 1.172 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.1665, allocations: 63.39 kB / 353.9 MB, free: 1.098 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1667, allocations: 133.8 kB / 354.1 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1667, allocations: 29.7 kB / 354.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.357e-05/0.1668, allocations: 84.14 kB / 354.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.1668, allocations: 4 kB / 354.2 MB, free: 0.832 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.1669, allocations: 33.61 kB / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1671, allocations: 314.8 kB / 354.5 MB, free: 488 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.602e-05/0.1671, allocations: 7.984 kB / 354.5 MB, free: 480 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.871e-05/0.1672, allocations: 58.88 kB / 354.6 MB, free: 396 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.1674, allocations: 74.73 kB / 354.7 MB, free: 296 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1674, allocations: 0 / 354.7 MB, free: 296 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000226/0.1676, allocations: 85.5 kB / 354.7 MB, free: 204 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1677, allocations: 8 kB / 354.8 MB, free: 196 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.1677, allocations: 3.938 kB / 354.8 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1677, allocations: 8.25 kB / 354.8 MB, free: 184 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.1678, allocations: 7.984 kB / 354.8 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.1678, allocations: 7.875 kB / 354.8 MB, free: 168 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.286e-05/0.1679, allocations: 7.906 kB / 354.8 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1679, allocations: 8 kB / 354.8 MB, free: 152 kB / 286.1 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,$CLKPRE.unitDelay1.u,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 0.0001401/0.1681, allocations: 121.1 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1683, allocations: 69.59 kB / 355 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.1684, allocations: 20.25 kB / 355 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1684, allocations: 4 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.1684, allocations: 4 kB / 355 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1684, allocations: 3.984 kB / 355 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1686, allocations: 169.6 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/0.1687, allocations: 4 kB / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.1687, allocations: 192 / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1687, allocations: 0 / 355.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.1687, allocations: 7.875 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1688, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1688, allocations: 0 / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.169, allocations: 113.4 kB / 355.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.1691, allocations: 100.9 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.185e-05/0.1692, allocations: 3.938 kB / 355.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.075e-05/0.1692, allocations: 3.938 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-06/0.1692, allocations: 0 / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1693, allocations: 4 kB / 355.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1694, allocations: 99.27 kB / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1694, allocations: 0 / 355.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003688/0.1698, allocations: 8 kB / 355.5 MB, free: 15.32 MB / 302.1 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 0.000179/0.17, allocations: 111.7 kB / 355.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1702, allocations: 43.92 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.1702, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.1702, allocations: 0 / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000506/0.1707, allocations: 43.95 kB / 355.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.1713, allocations: 162.1 kB / 355.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004292/0.1717, allocations: 0.6924 MB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.94e-05/0.1718, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1718, allocations: 11.44 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.494e-06/0.1718, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Templates: time 0.005327/0.1772, allocations: 0.6084 MB / 357.2 MB, free: 13.6 MB / 302.1 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches