Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 123 kB / 17.78 MB, free: 5.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 197.2 kB / 20.73 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] 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.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 43.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1385, allocations: 52.16 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003344/0.1418, allocations: 1.884 MB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1437, allocations: 1.052 MB / 420.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.1438, allocations: 7.938 kB / 420.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1444, allocations: 155.4 kB / 420.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.1447, allocations: 115.6 kB / 421 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.1452, allocations: 202.9 kB / 421.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.1455, allocations: 179.5 kB / 421.4 MB, free: 9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1456, allocations: 25.53 kB / 421.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.1458, allocations: 71.7 kB / 421.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.1459, allocations: 83.55 kB / 421.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.1459, allocations: 12 kB / 421.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.1461, allocations: 51.95 kB / 421.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.1461, allocations: 47.84 kB / 421.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.1462, allocations: 63.55 kB / 421.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1466, allocations: 211.1 kB / 421.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1466, allocations: 0 / 421.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1466, allocations: 0 / 421.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1466, allocations: 0 / 421.9 MB, free: 8.445 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007897/0.1474, allocations: 0.5101 MB / 422.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1474, allocations: 8.031 kB / 422.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/0.1474, allocations: 42.73 kB / 422.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.1475, allocations: 24.8 kB / 422.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.1479, allocations: 274.9 kB / 422.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1479, allocations: 4.375 kB / 422.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1479, allocations: 15.94 kB / 422.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.1483, allocations: 146.7 kB / 422.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1483, allocations: 0 / 422.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1483, allocations: 0 / 422.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.1483, allocations: 4 kB / 422.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1484, allocations: 35.92 kB / 423 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.1489, allocations: 354.5 kB / 423.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1491, allocations: 103.9 kB / 423.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.1492, allocations: 46.5 kB / 423.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1493, allocations: 11.92 kB / 423.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.1494, allocations: 75.34 kB / 423.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1494, allocations: 0 / 423.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00038/0.1498, allocations: 137.6 kB / 423.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.1499, allocations: 140.6 kB / 423.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.1503, allocations: 260.9 kB / 424.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1503, allocations: 33.7 kB / 424.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.1504, allocations: 116.1 kB / 424.2 MB, free: 5.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.1504, allocations: 19.83 kB / 424.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.1505, allocations: 29.72 kB / 424.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1506, allocations: 334.8 kB / 424.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.278e-05/0.1507, allocations: 16 kB / 424.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.1508, allocations: 73.92 kB / 424.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.1509, allocations: 80.2 kB / 424.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1509, allocations: 4 kB / 424.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002195/0.1511, allocations: 109.8 kB / 424.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1512, allocations: 4 kB / 424.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.1512, allocations: 4 kB / 424.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1512, allocations: 0 / 424.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.1513, allocations: 28.05 kB / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1513, allocations: 0 / 424.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1513, allocations: 15.89 kB / 424.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1514, allocations: 4 kB / 424.9 MB, free: 5.082 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001554/0.1515, allocations: 138.5 kB / 425.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.569e-05/0.1516, allocations: 65.53 kB / 425.1 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.1517, allocations: 29.69 kB / 425.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1517, allocations: 64 / 425.2 MB, free: 4.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1517, allocations: 8 kB / 425.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1517, allocations: 3.938 kB / 425.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.1519, allocations: 225.6 kB / 425.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1519, allocations: 0 / 425.4 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.1519, allocations: 4 kB / 425.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.152, allocations: 7.984 kB / 425.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.152, allocations: 0 / 425.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.152, allocations: 3.938 kB / 425.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.152, allocations: 4 kB / 425.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1522, allocations: 162.5 kB / 425.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1524, allocations: 112.9 kB / 425.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1524, allocations: 8 kB / 425.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.1524, allocations: 4 kB / 425.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.1525, allocations: 11.92 kB / 425.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.1525, allocations: 0 / 425.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1527, allocations: 200.5 kB / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1527, allocations: 0 / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.153, allocations: 24 kB / 425.9 MB, free: 3.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.002025/0.155, allocations: 1.013 MB / 426.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.1552, allocations: 67.84 kB / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1552, allocations: 0 / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.1553, allocations: 19.98 kB / 427 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.1557, allocations: 57.22 kB / 427.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.158, allocations: 1.932 MB / 429 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1584, allocations: 0.728 MB / 429.7 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.199e-05/0.1585, allocations: 21.55 kB / 429.8 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.1586, allocations: 51.41 kB / 429.8 MB, free: 84 kB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1586, allocations: 7.938 kB / 429.8 MB, free: 76 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.1907, allocations: 4.573 MB / 434.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.25/8.44, allocations: 15.09 kB / 434.4 MB, free: 11.59 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.98963e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SubSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! Error: Could not read variable subSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv. Warning: Get data of variable subSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.50744318170473]