Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001934/0.001934, allocations: 124.1 kB / 17.79 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.002272/0.002272, allocations: 198.8 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.487/1.487, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 51.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 52.13 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.005095/0.1106, allocations: 1.911 MB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.1138, allocations: 1.173 MB / 420.8 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1139, allocations: 7.938 kB / 420.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.1143, allocations: 67.66 kB / 420.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1147, allocations: 95.53 kB / 421 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.1157, allocations: 257.6 kB / 421.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1162, allocations: 179.5 kB / 421.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.1163, allocations: 21.56 kB / 421.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.1165, allocations: 79.62 kB / 421.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1167, allocations: 91.59 kB / 421.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.1167, allocations: 8 kB / 421.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002164/0.1169, allocations: 67.95 kB / 421.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.117, allocations: 55.83 kB / 421.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1172, allocations: 87.34 kB / 421.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.1177, allocations: 239 kB / 422.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1177, allocations: 0 / 422.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1177, allocations: 0 / 422.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1177, allocations: 0 / 422.1 MB, free: 8.281 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001025/0.1187, allocations: 0.5465 MB / 422.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1187, allocations: 8.031 kB / 422.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.1188, allocations: 42.69 kB / 422.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.1189, allocations: 24.75 kB / 422.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.1195, allocations: 295.8 kB / 423 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1195, allocations: 4.375 kB / 423 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.1195, allocations: 11.94 kB / 423 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.12, allocations: 174.9 kB / 423.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1201, allocations: 3.984 kB / 423.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1201, allocations: 8 kB / 423.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1201, allocations: 0 / 423.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.1203, allocations: 47.89 kB / 423.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008229/0.1211, allocations: 470.5 kB / 423.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004584/0.1215, allocations: 146.4 kB / 423.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.1217, allocations: 51.42 kB / 423.9 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1218, allocations: 7.984 kB / 423.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.122, allocations: 97.03 kB / 424 MB, free: 6.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.122, allocations: 0 / 424 MB, free: 6.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006237/0.1227, allocations: 173.4 kB / 424.2 MB, free: 5.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.1228, allocations: 184.3 kB / 424.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.1234, allocations: 338.6 kB / 424.7 MB, free: 5.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.1234, allocations: 29.7 kB / 424.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.1236, allocations: 128.4 kB / 424.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.1236, allocations: 23.91 kB / 424.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.1237, allocations: 37.66 kB / 424.9 MB, free: 5.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1239, allocations: 334.8 kB / 425.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.124, allocations: 31.98 kB / 425.2 MB, free: 4.773 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.1242, allocations: 99.59 kB / 425.3 MB, free: 4.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.1245, allocations: 101.1 kB / 425.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1245, allocations: 256 / 425.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000414/0.125, allocations: 137.4 kB / 425.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.125, allocations: 8 kB / 425.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.125, allocations: 0 / 425.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.125, allocations: 0 / 425.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.1252, allocations: 27.92 kB / 425.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1252, allocations: 4.156 kB / 425.6 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.1253, allocations: 11.92 kB / 425.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.1253, allocations: 12 kB / 425.6 MB, free: 4.328 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,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.0002219/0.1256, allocations: 151 kB / 425.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.1258, allocations: 77.48 kB / 425.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.318e-05/0.1258, allocations: 25.7 kB / 425.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.1258, allocations: 4 kB / 425.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1258, allocations: 4.062 kB / 425.9 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.1259, allocations: 7.875 kB / 425.9 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003823/0.1262, allocations: 249.5 kB / 426.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1262, allocations: 0 / 426.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1263, allocations: 12 kB / 426.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1264, allocations: 3.984 kB / 426.2 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.1264, allocations: 8 kB / 426.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1264, allocations: 3.938 kB / 426.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.1264, allocations: 4 kB / 426.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004644/0.1268, allocations: 179.5 kB / 426.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.127, allocations: 112.9 kB / 426.5 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.127, allocations: 8 kB / 426.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.1271, allocations: 4 kB / 426.5 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.1272, allocations: 15.92 kB / 426.5 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1272, allocations: 8 kB / 426.5 MB, free: 3.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003523/0.1276, allocations: 249.9 kB / 426.7 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1276, allocations: 3.938 kB / 426.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000435/0.128, allocations: 35.94 kB / 426.8 MB, free: 3.07 MB / 350.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,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.002553/0.1306, allocations: 1.043 MB / 427.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.1308, allocations: 79.89 kB / 427.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1308, allocations: 0 / 427.9 MB, free: 2.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.131, allocations: 36.3 kB / 427.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.1314, allocations: 76.67 kB / 428 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002919/0.1343, allocations: 2.259 MB / 430.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.1347, allocations: 0.7437 MB / 431 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.1349, allocations: 25.53 kB / 431 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.135, allocations: 59.41 kB / 431.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.135, allocations: 4 kB / 431.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02994/0.1649, allocations: 5.427 MB / 436.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/8.509, allocations: 10.44 kB / 436.5 MB, free: 9.379 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_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_IntegerSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.3179389256984]