Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002072/0.002072, allocations: 117.2 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002662/0.002662, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 59.89 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1585, allocations: 53.33 MB / 427.2 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002588/0.1611, allocations: 0.859 MB / 428 MB, free: 3.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003734/0.1614, allocations: 115.6 kB / 428.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.965e-05/0.1615, allocations: 7.938 kB / 428.1 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.243e-05/0.1616, allocations: 3.938 kB / 428.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.1617, allocations: 7.938 kB / 428.1 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.162, allocations: 35.89 kB / 428.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.1621, allocations: 51.84 kB / 428.2 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1622, allocations: 8 kB / 428.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.1623, allocations: 19.92 kB / 428.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.767e-05/0.1623, allocations: 15.86 kB / 428.3 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1623, allocations: 4 kB / 428.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.1623, allocations: 4 kB / 428.3 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.1624, allocations: 23.91 kB / 428.3 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.1624, allocations: 23.75 kB / 428.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.1626, allocations: 59.75 kB / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1626, allocations: 0 / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1626, allocations: 0 / 428.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1626, allocations: 0 / 428.4 MB, free: 3.266 MB / 350.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.0004807/0.1631, allocations: 367.2 kB / 428.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1631, allocations: 12.03 kB / 428.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1631, allocations: 8.891 kB / 428.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.1634, allocations: 200.1 kB / 429 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1635, allocations: 12.38 kB / 429 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1635, allocations: 4.375 kB / 429 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002918/0.1638, allocations: 119.9 kB / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.1638, allocations: 192 / 429.1 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1638, allocations: 7.875 kB / 429.1 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.1638, allocations: 4 kB / 429.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.1638, allocations: 23.98 kB / 429.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.164, allocations: 169.7 kB / 429.3 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.1642, allocations: 58.75 kB / 429.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.1642, allocations: 32.86 kB / 429.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1643, allocations: 7.938 kB / 429.4 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/0.1643, allocations: 38.55 kB / 429.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1643, allocations: 0 / 429.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002304/0.1645, allocations: 89.56 kB / 429.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.1646, allocations: 55.72 kB / 429.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.1648, allocations: 135.2 kB / 429.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.1648, allocations: 25.7 kB / 429.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.1648, allocations: 88.14 kB / 429.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1649, allocations: 11.94 kB / 429.8 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.1649, allocations: 21.72 kB / 429.8 MB, free: 1.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1651, allocations: 322.8 kB / 430.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.1651, allocations: 11.94 kB / 430.2 MB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.898e-05/0.1652, allocations: 58.86 kB / 430.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1653, allocations: 78.75 kB / 430.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1653, allocations: 0 / 430.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001355/0.1654, allocations: 85.52 kB / 430.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1655, allocations: 10.33 kB / 430.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1655, allocations: 8.125 kB / 430.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1655, allocations: 0 / 430.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.06e-05/0.1655, allocations: 11.88 kB / 430.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.1655, allocations: 7.984 kB / 430.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.86e-05/0.1656, allocations: 7.938 kB / 430.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1656, allocations: 12.25 kB / 430.4 MB, free: 0.9258 MB / 350.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.000133/0.1657, allocations: 121.8 kB / 430.6 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1658, allocations: 73.64 kB / 430.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.1658, allocations: 16.3 kB / 430.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1659, allocations: 0 / 430.7 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1659, allocations: 4 kB / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1659, allocations: 0 / 430.7 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.166, allocations: 165.7 kB / 430.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.166, allocations: 0 / 430.8 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.166, allocations: 7.984 kB / 430.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.166, allocations: 0 / 430.8 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.166, allocations: 11.94 kB / 430.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.166, allocations: 0 / 430.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.166, allocations: 0 / 430.8 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1662, allocations: 101 kB / 430.9 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.896e-05/0.1663, allocations: 93.05 kB / 431 MB, free: 248 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.1663, allocations: 3.938 kB / 431 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.596e-05/0.1663, allocations: 4 kB / 431 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.1663, allocations: 0 / 431 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1663, allocations: 7.938 kB / 431 MB, free: 232 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.944e-05/0.1664, allocations: 108.6 kB / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1664, allocations: 0 / 431.2 MB, free: 124 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002125/0.1666, allocations: 12 kB / 431.2 MB, free: 112 kB / 350.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.0001396/0.1668, allocations: 95.25 kB / 431.3 MB, free: 8 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.1669, allocations: 47.86 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1669, allocations: 4 kB / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1669, allocations: 0 / 431.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1672, allocations: 44.44 kB / 431.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.1677, allocations: 153.6 kB / 431.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1681, allocations: 0.6924 MB / 432.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.1681, allocations: 8.422 kB / 432.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.22e-05/0.1682, allocations: 15.44 kB / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1682, allocations: 0 / 432.2 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.004006/0.1722, allocations: 0.6254 MB / 432.8 MB, free: 14.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.893295954912901]