Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001247/0.001247, allocations: 124 kB / 17.79 MB, free: 5.266 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.001275/0.001275, allocations: 190.9 kB / 20.73 MB, free: 2.328 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.459/1.459, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 43.92 kB / 365.6 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.115, allocations: 52.15 MB / 417.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003432/0.1184, allocations: 1.89 MB / 419.7 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1204, allocations: 1.165 MB / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1205, allocations: 7.938 kB / 420.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1208, allocations: 59.67 kB / 420.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.1211, allocations: 95.64 kB / 421 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.1218, allocations: 254.6 kB / 421.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.122, allocations: 171.5 kB / 421.4 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1221, allocations: 29.55 kB / 421.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1223, allocations: 83.62 kB / 421.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1224, allocations: 79.67 kB / 421.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1224, allocations: 8 kB / 421.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.1225, allocations: 63.95 kB / 421.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.354e-05/0.1226, allocations: 59.7 kB / 421.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.101e-05/0.1227, allocations: 75.48 kB / 421.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.1231, allocations: 239 kB / 422 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1231, allocations: 0 / 422 MB, free: 8.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1231, allocations: 0 / 422 MB, free: 8.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.1231, allocations: 0 / 422 MB, free: 8.383 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.0007512/0.1238, allocations: 0.5387 MB / 422.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1239, allocations: 12.03 kB / 422.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.334e-05/0.1239, allocations: 38.73 kB / 422.6 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.124, allocations: 24.8 kB / 422.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.1244, allocations: 291.8 kB / 422.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1244, allocations: 8.375 kB / 422.9 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.1245, allocations: 11.94 kB / 422.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.1248, allocations: 163.5 kB / 423.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1248, allocations: 0 / 423.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1248, allocations: 0 / 423.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.1248, allocations: 4 kB / 423.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001201/0.1249, allocations: 35.97 kB / 423.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005282/0.1255, allocations: 382.3 kB / 423.5 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1257, allocations: 119.9 kB / 423.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.54e-05/0.1258, allocations: 42.56 kB / 423.7 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1259, allocations: 4.062 kB / 423.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.1261, allocations: 83.31 kB / 423.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1261, allocations: 4 kB / 423.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004288/0.1265, allocations: 149.4 kB / 423.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/0.1266, allocations: 166.2 kB / 424.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.127, allocations: 330.6 kB / 424.4 MB, free: 5.727 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.127, allocations: 25.7 kB / 424.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1272, allocations: 120.4 kB / 424.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1272, allocations: 23.89 kB / 424.6 MB, free: 5.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.1272, allocations: 37.66 kB / 424.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1274, allocations: 326.8 kB / 424.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.463e-05/0.1275, allocations: 23.98 kB / 424.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1276, allocations: 90.78 kB / 425 MB, free: 5.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1278, allocations: 84.22 kB / 425.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1278, allocations: 0 / 425.1 MB, free: 4.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002788/0.1281, allocations: 129.8 kB / 425.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1281, allocations: 4 kB / 425.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1281, allocations: 64 / 425.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1281, allocations: 8 kB / 425.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.1282, allocations: 19.98 kB / 425.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1283, allocations: 3.938 kB / 425.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.222e-05/0.1283, allocations: 19.83 kB / 425.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1283, allocations: 7.984 kB / 425.3 MB, free: 4.75 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.0001557/0.1285, allocations: 149.9 kB / 425.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/0.1286, allocations: 73.48 kB / 425.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.1287, allocations: 21.72 kB / 425.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.1287, allocations: 7.984 kB / 425.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1287, allocations: 0 / 425.5 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1287, allocations: 3.938 kB / 425.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.1289, allocations: 233.6 kB / 425.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1289, allocations: 0 / 425.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.129, allocations: 15.98 kB / 425.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.129, allocations: 0 / 425.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.129, allocations: 12.06 kB / 425.8 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.129, allocations: 3.938 kB / 425.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.129, allocations: 0 / 425.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.1293, allocations: 166.5 kB / 426 MB, free: 3.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1294, allocations: 112.9 kB / 426.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1294, allocations: 7.984 kB / 426.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.584e-05/0.1295, allocations: 8 kB / 426.1 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.1295, allocations: 15.92 kB / 426.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1296, allocations: 4 kB / 426.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.1298, allocations: 237.9 kB / 426.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1298, allocations: 3.938 kB / 426.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.1301, allocations: 35.92 kB / 426.4 MB, free: 3.547 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.00206/0.1321, allocations: 1.024 MB / 427.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1324, allocations: 71.89 kB / 427.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1324, allocations: 4 kB / 427.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.1325, allocations: 28.17 kB / 427.5 MB, free: 2.551 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.1329, allocations: 63.81 kB / 427.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/0.1358, allocations: 2.202 MB / 429.8 MB, free: 176 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.1363, allocations: 0.7436 MB / 430.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.701e-05/0.1364, allocations: 29.52 kB / 430.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1365, allocations: 59.41 kB / 430.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1365, allocations: 0 / 430.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.1668, allocations: 5.251 MB / 435.9 MB, free: 10.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/8.291, allocations: 4 kB / 435.9 MB, free: 10.17 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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_IntegerSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.104557801038027]