Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.001702/0.001702, allocations: 119 kB / 17.78 MB, free: 5.23 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.001853/0.001853, allocations: 197.2 kB / 20.73 MB, free: 2.289 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.444/1.444, allocations: 225.6 MB / 249.1 MB, free: 3.621 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.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 52.05 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003693/0.1189, allocations: 1.887 MB / 419.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.1209, allocations: 1.087 MB / 420.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1211, allocations: 7.938 kB / 420.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.1218, allocations: 155.5 kB / 420.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.1221, allocations: 115.5 kB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1227, allocations: 206.4 kB / 421.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.123, allocations: 179.5 kB / 421.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1231, allocations: 17.55 kB / 421.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1233, allocations: 79.62 kB / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1234, allocations: 79.61 kB / 421.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.1234, allocations: 12 kB / 421.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.1236, allocations: 51.97 kB / 421.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.1237, allocations: 51.78 kB / 421.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.819e-05/0.1238, allocations: 71.53 kB / 421.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.1241, allocations: 199.1 kB / 422 MB, free: 8.438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1241, allocations: 0 / 422 MB, free: 8.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1241, allocations: 0 / 422 MB, free: 8.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.1241, allocations: 0 / 422 MB, free: 8.438 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.0009411/0.1251, allocations: 0.5155 MB / 422.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1251, allocations: 8.031 kB / 422.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.1252, allocations: 38.75 kB / 422.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.427e-05/0.1252, allocations: 24.8 kB / 422.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1256, allocations: 274.9 kB / 422.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1256, allocations: 384 / 422.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.1257, allocations: 15.94 kB / 422.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.126, allocations: 146.7 kB / 423 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.126, allocations: 3.938 kB / 423 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.126, allocations: 4 kB / 423 MB, free: 7.289 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-06/0.126, allocations: 4 kB / 423 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.1261, allocations: 27.98 kB / 423 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005257/0.1267, allocations: 354.4 kB / 423.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1269, allocations: 107.9 kB / 423.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.597e-05/0.127, allocations: 42.56 kB / 423.5 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.127, allocations: 4 kB / 423.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1272, allocations: 79.27 kB / 423.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1272, allocations: 0 / 423.6 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003858/0.1276, allocations: 137.7 kB / 423.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/0.1277, allocations: 136.5 kB / 423.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003165/0.128, allocations: 264.9 kB / 424.1 MB, free: 6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.128, allocations: 29.7 kB / 424.1 MB, free: 5.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.1281, allocations: 124.1 kB / 424.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.1282, allocations: 23.77 kB / 424.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.1282, allocations: 29.66 kB / 424.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1284, allocations: 334.8 kB / 424.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.72e-05/0.1284, allocations: 23.98 kB / 424.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.1285, allocations: 65.94 kB / 424.7 MB, free: 5.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.1287, allocations: 84.25 kB / 424.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1287, allocations: 0 / 424.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.1289, allocations: 113.5 kB / 424.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1289, allocations: 8 kB / 424.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1289, allocations: 320 / 424.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.129, allocations: 0 / 424.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.129, allocations: 16.11 kB / 424.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1291, allocations: 8 kB / 424.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.865e-05/0.1291, allocations: 11.89 kB / 425 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1291, allocations: 4 kB / 425 MB, free: 5.074 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,table.y,superSample1.y,superSample1.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.0001423/0.1293, allocations: 141.8 kB / 425.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1294, allocations: 61.59 kB / 425.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.1294, allocations: 25.7 kB / 425.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1294, allocations: 3.984 kB / 425.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.1294, allocations: 12 kB / 425.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1295, allocations: 3.938 kB / 425.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1297, allocations: 221.5 kB / 425.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1297, allocations: 0 / 425.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.1297, allocations: 4 kB / 425.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1297, allocations: 4 kB / 425.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1297, allocations: 3.984 kB / 425.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1297, allocations: 4 kB / 425.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1298, allocations: 0 / 425.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.13, allocations: 154.6 kB / 425.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1301, allocations: 116.9 kB / 425.7 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1302, allocations: 4 kB / 425.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.1302, allocations: 4 kB / 425.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.1303, allocations: 15.92 kB / 425.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1303, allocations: 4 kB / 425.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002005/0.1305, allocations: 196.5 kB / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1305, allocations: 0 / 425.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1307, allocations: 28.09 kB / 426 MB, free: 3.977 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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.002006/0.1327, allocations: 1.013 MB / 427 MB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.133, allocations: 67.84 kB / 427 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.133, allocations: 0 / 427 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.153e-05/0.133, allocations: 24 kB / 427.1 MB, free: 3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1335, allocations: 64.47 kB / 427.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.1358, allocations: 1.929 MB / 429 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.1362, allocations: 0.7241 MB / 429.8 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.1363, allocations: 25.53 kB / 429.8 MB, free: 120 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.1364, allocations: 47.42 kB / 429.8 MB, free: 72 kB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1364, allocations: 0 / 429.8 MB, free: 72 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.1673, allocations: 4.584 MB / 434.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/8.636, allocations: 6.75 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.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.95804e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.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.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.486143969930708]