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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 59.31 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1596, allocations: 50.53 MB / 357.4 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.004409/0.1641, allocations: 0.906 MB / 358.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005551/0.1647, allocations: 123.7 kB / 358.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.1648, allocations: 0 / 358.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.699e-05/0.165, allocations: 7.922 kB / 358.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001716/0.1652, allocations: 4 kB / 358.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004036/0.1656, allocations: 31.89 kB / 358.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1658, allocations: 39.86 kB / 358.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1659, allocations: 27.97 kB / 358.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.166, allocations: 15.94 kB / 358.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.1661, allocations: 15.92 kB / 358.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1662, allocations: 0 / 358.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.1662, allocations: 7.938 kB / 358.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.633e-05/0.1663, allocations: 11.98 kB / 358.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.676e-05/0.1664, allocations: 27.78 kB / 358.7 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.1665, allocations: 35.95 kB / 358.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1665, allocations: 3.938 kB / 358.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1665, allocations: 0 / 358.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1666, allocations: 0 / 358.7 MB, free: 13.26 MB / 302.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.0006258/0.1672, allocations: 371.5 kB / 359.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.1673, allocations: 12.03 kB / 359.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.1674, allocations: 16.84 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.1677, allocations: 194.4 kB / 359.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1678, allocations: 8.375 kB / 359.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.1678, allocations: 384 / 359.3 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004314/0.1682, allocations: 135.7 kB / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.1683, allocations: 192 / 359.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.1683, allocations: 3.938 kB / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1683, allocations: 0 / 359.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.922e-05/0.1684, allocations: 23.98 kB / 359.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.1687, allocations: 165.7 kB / 359.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.169, allocations: 66.72 kB / 359.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.1691, allocations: 40.77 kB / 359.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1691, allocations: 4 kB / 359.7 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1692, allocations: 30.56 kB / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/0.1692, allocations: 0 / 359.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003615/0.1696, allocations: 93.5 kB / 359.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/0.1697, allocations: 59.41 kB / 359.9 MB, free: 11.87 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.1699, allocations: 137.8 kB / 360 MB, free: 11.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1699, allocations: 25.7 kB / 360 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.17, allocations: 88.14 kB / 360.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1701, allocations: 7.969 kB / 360.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-05/0.1702, allocations: 33.56 kB / 360.2 MB, free: 11.56 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.1703, allocations: 314.8 kB / 360.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.1704, allocations: 12 kB / 360.5 MB, free: 11.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.024e-05/0.1705, allocations: 58.86 kB / 360.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.1707, allocations: 70.75 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1707, allocations: 4 kB / 360.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002446/0.171, allocations: 81.56 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.171, allocations: 8.188 kB / 360.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.171, allocations: 11.94 kB / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1711, allocations: 0 / 360.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.238e-05/0.1711, allocations: 8.172 kB / 360.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.1711, allocations: 4 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.1712, allocations: 7.844 kB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1712, allocations: 4 kB / 360.7 MB, free: 10.92 MB / 302.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.000158/0.1714, allocations: 132.1 kB / 360.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.1716, allocations: 69.59 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.1717, allocations: 24.3 kB / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1717, allocations: 0 / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1717, allocations: 0 / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1717, allocations: 0 / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1719, allocations: 169.7 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1719, allocations: 0 / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.172, allocations: 0 / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.172, allocations: 3.984 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.172, allocations: 3.938 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.619e-05/0.172, allocations: 15.92 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.172, allocations: 3.938 kB / 361.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.1723, allocations: 101 kB / 361.3 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1724, allocations: 92.94 kB / 361.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.1724, allocations: 7.938 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.856e-05/0.1725, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-06/0.1725, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1725, allocations: 4 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.1726, allocations: 99.27 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1727, allocations: 4 kB / 361.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003744/0.173, allocations: 8 kB / 361.5 MB, free: 10.1 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.0001782/0.1732, allocations: 103.2 kB / 361.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.1734, allocations: 51.84 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.1735, allocations: 0 / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.1735, allocations: 0.5 kB / 361.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005195/0.174, allocations: 36.02 kB / 361.7 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1746, allocations: 205.1 kB / 361.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.175, allocations: 0.6976 MB / 362.6 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.1751, allocations: 11.44 kB / 362.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1751, allocations: 0 / 362.6 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Templates: time 0.003874/0.179, allocations: 0.7844 MB / 363.4 MB, free: 8.148 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (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) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches