Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001871/0.001871, allocations: 132.4 kB / 17.8 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002349/0.002349, allocations: 210.5 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.4 MB / 254 MB, free: 15.17 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 55.91 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1041, allocations: 53.39 MB / 426.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003302/0.1074, allocations: 1.902 MB / 428.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1096, allocations: 1.309 MB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1097, allocations: 7.938 kB / 429.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1101, allocations: 67.66 kB / 429.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003688/0.1104, allocations: 135.4 kB / 429.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006386/0.1111, allocations: 227.3 kB / 430 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.1113, allocations: 175.5 kB / 430.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1115, allocations: 21.55 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.1116, allocations: 87.56 kB / 430.3 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.1117, allocations: 83.66 kB / 430.4 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1117, allocations: 8 kB / 430.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1119, allocations: 71.95 kB / 430.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.112, allocations: 59.7 kB / 430.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.268e-05/0.1121, allocations: 75.48 kB / 430.6 MB, free: 392 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.1124, allocations: 243 kB / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1124, allocations: 0 / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1124, allocations: 0 / 430.8 MB, free: 148 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1124, allocations: 0 / 430.8 MB, free: 148 kB / 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.0007689/0.1132, allocations: 0.5425 MB / 431.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1132, allocations: 12.03 kB / 431.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.1133, allocations: 38.73 kB / 431.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.1133, allocations: 28.8 kB / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004087/0.1138, allocations: 287.8 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1138, allocations: 4.375 kB / 431.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.1138, allocations: 12.36 kB / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.1141, allocations: 161.3 kB / 431.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1141, allocations: 4 kB / 431.9 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1141, allocations: 7.984 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1142, allocations: 3.984 kB / 431.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1143, allocations: 39.95 kB / 431.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.1148, allocations: 390.3 kB / 432.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.1151, allocations: 115.9 kB / 432.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.1152, allocations: 46.56 kB / 432.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.1152, allocations: 0 / 432.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.1154, allocations: 83.31 kB / 432.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1154, allocations: 0 / 432.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004026/0.1158, allocations: 153.6 kB / 432.7 MB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1159, allocations: 170.1 kB / 432.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003702/0.1163, allocations: 330.7 kB / 433.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.1163, allocations: 37.58 kB / 433.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1164, allocations: 128.1 kB / 433.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.1164, allocations: 15.89 kB / 433.4 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.1165, allocations: 33.7 kB / 433.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1166, allocations: 338.8 kB / 433.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.1167, allocations: 23.98 kB / 433.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.1168, allocations: 82.84 kB / 433.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.117, allocations: 84.22 kB / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.117, allocations: 0 / 433.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.1172, allocations: 129.4 kB / 434 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1172, allocations: 8 kB / 434.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1172, allocations: 0 / 434.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1172, allocations: 4.125 kB / 434.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1173, allocations: 19.98 kB / 434.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1173, allocations: 0 / 434.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.1174, allocations: 11.92 kB / 434.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1174, allocations: 4 kB / 434.1 MB, free: 12.5 MB / 366.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.0001527/0.1176, allocations: 157.7 kB / 434.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.1177, allocations: 73.44 kB / 434.3 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/0.1177, allocations: 29.7 kB / 434.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1177, allocations: 8.062 kB / 434.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1177, allocations: 320 / 434.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.1177, allocations: 0 / 434.4 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.118, allocations: 249.5 kB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.118, allocations: 0 / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.118, allocations: 15.98 kB / 434.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.118, allocations: 0 / 434.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.1181, allocations: 8 kB / 434.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1181, allocations: 0 / 434.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1181, allocations: 0 / 434.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.1183, allocations: 170.5 kB / 434.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.1184, allocations: 112.9 kB / 434.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1185, allocations: 4 kB / 434.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.1185, allocations: 4 kB / 434.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.1186, allocations: 7.984 kB / 434.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1186, allocations: 8 kB / 434.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002602/0.1189, allocations: 254 kB / 435.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1189, allocations: 3.938 kB / 435.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1191, allocations: 35.88 kB / 435.2 MB, free: 11.27 MB / 366.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.001988/0.1211, allocations: 1.02 MB / 436.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1213, allocations: 67.84 kB / 436.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1213, allocations: 4 kB / 436.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.1214, allocations: 23.98 kB / 436.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1218, allocations: 67.23 kB / 436.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.1244, allocations: 2.228 MB / 438.6 MB, free: 7.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1248, allocations: 0.7436 MB / 439.4 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.1249, allocations: 29.53 kB / 439.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.125, allocations: 63.36 kB / 439.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.125, allocations: 0 / 439.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02829/0.1533, allocations: 5.344 MB / 444.8 MB, free: 1.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/7.834, allocations: 3.938 kB / 444.8 MB, free: 1.734 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! Error: Could not read variable superSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv. Warning: Get data of variable superSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.58420914306771]