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.001408/0.001408, allocations: 109.7 kB / 16.92 MB, free: 5.797 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.001326/0.001326, allocations: 191.3 kB / 17.85 MB, free: 5.16 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.565/1.565, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 46.45 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.161, allocations: 49.44 MB / 350.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.005378/0.1664, allocations: 1.903 MB / 352.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.169, allocations: 1.075 MB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.1695, allocations: 7.938 kB / 353.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1707, allocations: 155.5 kB / 353.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.1714, allocations: 115.1 kB / 353.4 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1726, allocations: 211.3 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005704/0.1732, allocations: 195.4 kB / 353.8 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1734, allocations: 25.69 kB / 353.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1737, allocations: 79.69 kB / 353.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.174, allocations: 83.56 kB / 354 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.1741, allocations: 12 kB / 354 MB, free: 496 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.1744, allocations: 51.97 kB / 354.1 MB, free: 444 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1745, allocations: 47.83 kB / 354.1 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.1748, allocations: 75.48 kB / 354.2 MB, free: 320 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007035/0.1755, allocations: 203.6 kB / 354.4 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/0.1755, allocations: 8 kB / 354.4 MB, free: 108 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1755, allocations: 3.938 kB / 354.4 MB, free: 104 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.1755, allocations: 0 / 354.4 MB, free: 104 kB / 286.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.001597/0.1771, allocations: 0.5157 MB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/0.1772, allocations: 8.031 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.506e-05/0.1773, allocations: 42.69 kB / 355 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.1774, allocations: 24.64 kB / 355 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.1778, allocations: 262.8 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1779, allocations: 8.375 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1779, allocations: 15.94 kB / 355.3 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.1784, allocations: 171.5 kB / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1784, allocations: 3.938 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.1785, allocations: 4 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1785, allocations: 0 / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.1786, allocations: 39.92 kB / 355.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007147/0.1794, allocations: 379.2 kB / 355.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.1797, allocations: 134.5 kB / 356 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1798, allocations: 59.36 kB / 356 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.1798, allocations: 7.984 kB / 356 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1801, allocations: 71.39 kB / 356.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.1801, allocations: 0 / 356.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004862/0.1806, allocations: 161.2 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.1807, allocations: 162.5 kB / 356.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.1812, allocations: 280.9 kB / 356.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.1813, allocations: 29.7 kB / 356.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.1815, allocations: 120.3 kB / 356.8 MB, free: 13.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1815, allocations: 15.89 kB / 356.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.1816, allocations: 33.62 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0003956/0.182, allocations: 330.8 kB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.84e-05/0.1821, allocations: 23.98 kB / 357.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1823, allocations: 82.72 kB / 357.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1826, allocations: 97.91 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1826, allocations: 0 / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003485/0.183, allocations: 129.4 kB / 357.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.183, allocations: 4 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.183, allocations: 0 / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.1831, allocations: 8.188 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1832, allocations: 19.92 kB / 357.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1833, allocations: 320 / 357.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1834, allocations: 15.88 kB / 357.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.1834, allocations: 12 kB / 357.6 MB, free: 12.51 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.0002245/0.1836, allocations: 137.8 kB / 357.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/0.1838, allocations: 81.34 kB / 357.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.646e-05/0.1839, allocations: 29.8 kB / 357.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1839, allocations: 3.938 kB / 357.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.1839, allocations: 0 / 357.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.184, allocations: 11.88 kB / 357.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.1843, allocations: 221.7 kB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.1843, allocations: 4 kB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.1843, allocations: 4 kB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1844, allocations: 0 / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1844, allocations: 4 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.1844, allocations: 3.984 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.1844, allocations: 8 kB / 358.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.1848, allocations: 179.2 kB / 358.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.185, allocations: 112.8 kB / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.185, allocations: 4 kB / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1851, allocations: 8 kB / 358.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.1852, allocations: 19.91 kB / 358.4 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1852, allocations: 4 kB / 358.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1855, allocations: 196.5 kB / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1855, allocations: 0 / 358.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003323/0.1859, allocations: 32 kB / 358.6 MB, free: 11.35 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.001993/0.1879, allocations: 1.022 MB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002822/0.1882, allocations: 79.84 kB / 359.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.1882, allocations: 4.375 kB / 359.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.1883, allocations: 20 kB / 359.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005066/0.1888, allocations: 87.23 kB / 359.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.1918, allocations: 2.024 MB / 361.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1922, allocations: 0.7281 MB / 362.6 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.1923, allocations: 25.53 kB / 362.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.829e-05/0.1924, allocations: 51.42 kB / 362.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1924, allocations: 0 / 362.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.2213, allocations: 4.827 MB / 367.5 MB, free: 2.582 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.026, allocations: 3.875 kB / 367.5 MB, free: 2.582 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