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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 90.61 kB / 16.65 MB, free: 6.59 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.001083/0.001083, allocations: 182.6 kB / 17.56 MB, free: 6.203 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.643/1.643, allocations: 223.3 MB / 241.6 MB, free: 14.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003262, allocations: 8 kB / 301.5 MB, free: 5.797 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1569, allocations: 50.41 MB / 351.9 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001615/0.1586, allocations: 0.5704 MB / 352.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00049/0.1591, allocations: 119.6 kB / 352.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1593, allocations: 7.938 kB / 352.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.172e-05/0.1593, allocations: 3.984 kB / 352.6 MB, free: 2.676 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1595, allocations: 7.938 kB / 352.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003617/0.1599, allocations: 31.91 kB / 352.7 MB, free: 2.637 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.16, allocations: 35.92 kB / 352.7 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.1602, allocations: 23.94 kB / 352.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.1602, allocations: 7.938 kB / 352.7 MB, free: 2.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.632e-05/0.1603, allocations: 19.86 kB / 352.8 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1603, allocations: 4 kB / 352.8 MB, free: 2.547 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.1603, allocations: 4 kB / 352.8 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.641e-05/0.1604, allocations: 15.92 kB / 352.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.1605, allocations: 49.5 kB / 352.8 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.1606, allocations: 39.81 kB / 352.9 MB, free: 2.434 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.1606, allocations: 3.984 kB / 352.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.25e-06/0.1607, allocations: 0 / 352.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1607, allocations: 3.938 kB / 352.9 MB, free: 2.426 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.0005573/0.1612, allocations: 351.6 kB / 353.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.1613, allocations: 16.03 kB / 353.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.859e-05/0.1614, allocations: 38.73 kB / 353.3 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.1614, allocations: 8.844 kB / 353.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1617, allocations: 192 kB / 353.5 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1617, allocations: 8.375 kB / 353.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1617, allocations: 8.359 kB / 353.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1621, allocations: 135.7 kB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.1621, allocations: 3.938 kB / 353.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1621, allocations: 0 / 353.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1621, allocations: 4 kB / 353.6 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.1622, allocations: 16 kB / 353.7 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/0.1624, allocations: 177.6 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1626, allocations: 66.66 kB / 353.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.181e-05/0.1627, allocations: 40.89 kB / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.1627, allocations: 0 / 353.9 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.1628, allocations: 34.56 kB / 354 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.1628, allocations: 0 / 354 MB, free: 1.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002931/0.1631, allocations: 89.45 kB / 354.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.1632, allocations: 59.41 kB / 354.1 MB, free: 1.004 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1633, allocations: 137.7 kB / 354.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.1634, allocations: 33.7 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1634, allocations: 88.08 kB / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1635, allocations: 0 / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1635, allocations: 17.72 kB / 354.4 MB, free: 0.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1637, allocations: 322.8 kB / 354.7 MB, free: 392 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.1637, allocations: 4 kB / 354.7 MB, free: 388 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.694e-05/0.1638, allocations: 62.8 kB / 354.8 MB, free: 300 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.1639, allocations: 74.75 kB / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1639, allocations: 0 / 354.8 MB, free: 200 kB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001645/0.164, allocations: 89.48 kB / 354.9 MB, free: 104 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.1641, allocations: 7.938 kB / 354.9 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1641, allocations: 4 kB / 354.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.1641, allocations: 4.25 kB / 354.9 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.286e-05/0.1642, allocations: 4 kB / 354.9 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.1642, allocations: 4.312 kB / 354.9 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.34e-05/0.1642, allocations: 15.84 kB / 355 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1642, allocations: 4 kB / 355 MB, free: 60 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.0001576/0.1644, allocations: 117.8 kB / 355.1 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.1645, allocations: 81.52 kB / 355.2 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.203e-05/0.1646, allocations: 8.375 kB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1646, allocations: 0 / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.1646, allocations: 8 kB / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1647, allocations: 0 / 355.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.1648, allocations: 169.6 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.1648, allocations: 0 / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/0.1648, allocations: 3.938 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.1649, allocations: 3.938 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1649, allocations: 4 kB / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1649, allocations: 0 / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1649, allocations: 0 / 355.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1651, allocations: 105 kB / 355.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1652, allocations: 96.94 kB / 355.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1652, allocations: 3.938 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.794e-05/0.1652, allocations: 0 / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-06/0.1652, allocations: 7.984 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.1653, allocations: 0 / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1654, allocations: 102.4 kB / 355.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1654, allocations: 7.938 kB / 355.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.1656, allocations: 8 kB / 355.7 MB, free: 15.24 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.0006386/0.1663, allocations: 0.663 MB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1664, allocations: 48.05 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1664, allocations: 0.5625 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.1664, allocations: 3.938 kB / 356.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1668, allocations: 44.02 kB / 356.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1683, allocations: 1.333 MB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.1687, allocations: 0.6966 MB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.763e-05/0.1688, allocations: 11.98 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1688, allocations: 23.36 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1688, allocations: 0 / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.182, allocations: 1.448 MB / 359.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.1823, allocations: 216.8 kB / 360.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.051/2.234, allocations: 3.938 kB / 360.2 MB, free: 10.69 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_AssignClock.fmu > 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