Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",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.00108/0.00108, allocations: 89.59 kB / 16.65 MB, free: 6.586 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.001171/0.001171, allocations: 182 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.702/1.702, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003688, allocations: 8 kB / 301.5 MB, free: 6.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 50.41 MB / 351.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003559/0.1512, allocations: 1.617 MB / 353.6 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1538, allocations: 1.033 MB / 354.6 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.1541, allocations: 7.938 kB / 354.6 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000856/0.155, allocations: 143.7 kB / 354.7 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.1555, allocations: 103.6 kB / 354.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008356/0.1563, allocations: 183.1 kB / 355 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004246/0.1568, allocations: 195.4 kB / 355.2 MB, free: 320 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.157, allocations: 33.66 kB / 355.2 MB, free: 288 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1572, allocations: 63.7 kB / 355.3 MB, free: 224 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.1573, allocations: 75.56 kB / 355.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1574, allocations: 0 / 355.4 MB, free: 148 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.1576, allocations: 47.97 kB / 355.4 MB, free: 100 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.464e-05/0.1577, allocations: 39.84 kB / 355.5 MB, free: 60 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1579, allocations: 93.17 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.1583, allocations: 195.6 kB / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1583, allocations: 0 / 355.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1583, allocations: 4 kB / 355.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1583, allocations: 0 / 355.8 MB, free: 15.77 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001061/0.1594, allocations: 0.4885 MB / 356.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.781e-05/0.1595, allocations: 12.03 kB / 356.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.1596, allocations: 38.73 kB / 356.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.013e-05/0.1596, allocations: 24.66 kB / 356.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004538/0.1601, allocations: 270.7 kB / 356.6 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1601, allocations: 12.38 kB / 356.6 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.1602, allocations: 7.938 kB / 356.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.1606, allocations: 171.5 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1606, allocations: 0 / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.1607, allocations: 4 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1607, allocations: 4 kB / 356.8 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1608, allocations: 43.91 kB / 356.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.1615, allocations: 371.2 kB / 357.2 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000324/0.1618, allocations: 138.5 kB / 357.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.162, allocations: 59.36 kB / 357.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.162, allocations: 8.062 kB / 357.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002009/0.1622, allocations: 67.39 kB / 357.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 5.37e-06/0.1622, allocations: 3.984 kB / 357.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004581/0.1627, allocations: 169.3 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.1628, allocations: 162.2 kB / 357.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.1632, allocations: 268.9 kB / 358 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1632, allocations: 29.7 kB / 358.1 MB, free: 13.15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1633, allocations: 120.4 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1634, allocations: 15.81 kB / 358.2 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1634, allocations: 25.92 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1636, allocations: 334.8 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.959e-05/0.1637, allocations: 23.98 kB / 358.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.1638, allocations: 75.72 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.164, allocations: 97.91 kB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.164, allocations: 0 / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00027/0.1642, allocations: 133.3 kB / 358.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1643, allocations: 8 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.1643, allocations: 0 / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1643, allocations: 4 kB / 358.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1644, allocations: 15.92 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1644, allocations: 4 kB / 358.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.1645, allocations: 11.88 kB / 358.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1646, allocations: 8 kB / 358.9 MB, free: 12.21 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001697/0.1647, allocations: 146.9 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.1649, allocations: 81.28 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.1649, allocations: 21.7 kB / 359.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.165, allocations: 7.938 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.165, allocations: 320 / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.165, allocations: 3.938 kB / 359.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.1652, allocations: 229.6 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1652, allocations: 4.094 kB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1653, allocations: 15.98 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1653, allocations: 0 / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1653, allocations: 4 kB / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1653, allocations: 0 / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1653, allocations: 0 / 359.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003465/0.1657, allocations: 187.2 kB / 359.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1658, allocations: 108.8 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.1659, allocations: 7.984 kB / 359.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.166, allocations: 8 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.166, allocations: 7.938 kB / 359.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.166, allocations: 7.984 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002432/0.1663, allocations: 196.5 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1663, allocations: 0 / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1666, allocations: 36 kB / 360 MB, free: 11.04 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00162/0.1682, allocations: 1.021 MB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.1685, allocations: 83.78 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1685, allocations: 0 / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.582e-05/0.1686, allocations: 23.98 kB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005443/0.1692, allocations: 79.23 kB / 361.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.1725, allocations: 2.052 MB / 363.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.173, allocations: 0.7362 MB / 364 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.1731, allocations: 25.52 kB / 364 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1732, allocations: 51.42 kB / 364 MB, free: 6.934 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1732, allocations: 0 / 364 MB, free: 6.934 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.1921, allocations: 4.386 MB / 368.4 MB, free: 2.727 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.1924, allocations: 252.5 kB / 368.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.327, allocations: 0 / 368.7 MB, free: 2.445 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches