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.001073/0.001073, allocations: 110.9 kB / 16.92 MB, free: 5.664 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.001215/0.001215, allocations: 189.6 kB / 17.85 MB, free: 5.176 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.389/1.389, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 51.95 kB / 300.7 MB, free: 5.812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1407, allocations: 49.44 MB / 350.2 MB, free: 4.363 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.006556/0.1473, allocations: 1.911 MB / 352.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1503, allocations: 1.079 MB / 353.2 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1505, allocations: 7.938 kB / 353.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.1514, allocations: 157.7 kB / 353.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004626/0.1518, allocations: 107.5 kB / 353.4 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008706/0.1527, allocations: 215 kB / 353.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003507/0.1531, allocations: 191.5 kB / 353.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1533, allocations: 29.67 kB / 353.8 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.1535, allocations: 79.69 kB / 353.9 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.1536, allocations: 83.56 kB / 354 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.1537, allocations: 8 kB / 354 MB, free: 500 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1539, allocations: 47.98 kB / 354.1 MB, free: 452 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.154, allocations: 55.75 kB / 354.1 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1541, allocations: 71.55 kB / 354.2 MB, free: 324 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.1545, allocations: 211.5 kB / 354.4 MB, free: 112 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.1546, allocations: 3.984 kB / 354.4 MB, free: 108 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1546, allocations: 3.938 kB / 354.4 MB, free: 104 kB / 286.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1546, 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.001018/0.1556, allocations: 0.5157 MB / 354.9 MB, free: 15.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1557, allocations: 8.031 kB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.471e-05/0.1558, allocations: 38.75 kB / 355 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.1558, allocations: 20.66 kB / 355 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1563, allocations: 270.8 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1563, allocations: 8.375 kB / 355.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.1564, allocations: 7.938 kB / 355.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.1569, allocations: 179.1 kB / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1569, allocations: 0 / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1569, allocations: 0 / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.1569, allocations: 4 kB / 355.4 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.1571, allocations: 35.92 kB / 355.5 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006436/0.1578, allocations: 383.1 kB / 355.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1581, allocations: 138.5 kB / 356 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.1583, allocations: 59.42 kB / 356 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1583, allocations: 3.938 kB / 356 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1585, allocations: 75.38 kB / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.1586, allocations: 0 / 356.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005356/0.1591, allocations: 161.2 kB / 356.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1592, allocations: 162.6 kB / 356.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.1597, allocations: 276.9 kB / 356.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/0.1597, allocations: 33.7 kB / 356.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1598, allocations: 120.3 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1599, allocations: 15.84 kB / 356.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.16, allocations: 33.61 kB / 356.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1601, allocations: 334.8 kB / 357.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1603, allocations: 20 kB / 357.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.1604, allocations: 83.7 kB / 357.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1607, allocations: 97.91 kB / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1607, allocations: 0 / 357.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003927/0.1611, allocations: 125.4 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.1611, allocations: 4 kB / 357.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.1612, allocations: 4 kB / 357.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.1612, allocations: 8.188 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1613, allocations: 8 kB / 357.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.1614, allocations: 15.86 kB / 357.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.1615, allocations: 15.88 kB / 357.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1615, allocations: 4 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.0001777/0.1617, allocations: 142.1 kB / 357.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/0.1619, allocations: 77.34 kB / 357.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/0.162, allocations: 29.8 kB / 357.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.162, allocations: 4 kB / 357.9 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.162, allocations: 4 kB / 357.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.162, allocations: 3.938 kB / 357.9 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1623, allocations: 225.6 kB / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.1624, allocations: 0 / 358.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.1624, allocations: 7.938 kB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.1624, allocations: 4 kB / 358.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1625, allocations: 4 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1625, allocations: 4 kB / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1625, allocations: 0 / 358.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000403/0.1629, allocations: 179.2 kB / 358.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/0.1631, allocations: 116.8 kB / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.1631, allocations: 0 / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1632, allocations: 8 kB / 358.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.1633, allocations: 15.92 kB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.1633, allocations: 4 kB / 358.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003047/0.1636, allocations: 196.5 kB / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1637, allocations: 0 / 358.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004647/0.1641, allocations: 32 kB / 358.6 MB, free: 11.36 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.002159/0.1663, allocations: 1.033 MB / 359.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003542/0.1667, allocations: 87.83 kB / 359.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1667, allocations: 384 / 359.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1668, allocations: 24 kB / 359.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.1675, allocations: 76.31 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.003328/0.1709, allocations: 2.013 MB / 361.9 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.1713, allocations: 0.7281 MB / 362.6 MB, free: 7.355 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1715, allocations: 37.77 kB / 362.6 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.1716, allocations: 51.36 kB / 362.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1716, allocations: 4 kB / 362.7 MB, free: 7.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.1938, allocations: 4.822 MB / 367.5 MB, free: 2.586 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.431/7.625, allocations: 3.094 kB / 367.5 MB, free: 2.586 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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.6e-05 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.csv","/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