Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00214/0.00214, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 55.91 kB / 373 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1134, allocations: 53.33 MB / 426.3 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003634/0.1171, allocations: 1.928 MB / 428.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1195, allocations: 1.315 MB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1197, allocations: 7.938 kB / 429.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.12, allocations: 63.67 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004032/0.1204, allocations: 139.4 kB / 429.8 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.1211, allocations: 234.8 kB / 430 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.1214, allocations: 179.5 kB / 430.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1215, allocations: 29.48 kB / 430.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1216, allocations: 83.62 kB / 430.3 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.1217, allocations: 87.59 kB / 430.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1218, allocations: 12 kB / 430.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1219, allocations: 63.97 kB / 430.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.445e-05/0.122, allocations: 63.75 kB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.994e-05/0.1221, allocations: 79.42 kB / 430.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003789/0.1225, allocations: 250.9 kB / 430.8 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1225, allocations: 4 kB / 430.8 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1225, allocations: 0 / 430.8 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1225, allocations: 3.938 kB / 430.8 MB, free: 272 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.2099/0.3325, allocations: 0.5466 MB / 431.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.3325, allocations: 11.41 kB / 431.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.3325, allocations: 36.22 kB / 431.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.3326, allocations: 28.72 kB / 431.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.3331, allocations: 298.4 kB / 431.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3331, allocations: 7.641 kB / 431.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3331, allocations: 8.719 kB / 431.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.3335, allocations: 173.9 kB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3336, allocations: 6.438 kB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.3336, allocations: 5.266 kB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3336, allocations: 1.875 kB / 431.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3337, allocations: 41.08 kB / 432 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005581/0.3343, allocations: 470.5 kB / 432.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.3346, allocations: 137.8 kB / 432.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3347, allocations: 58.55 kB / 432.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.3347, allocations: 6.25 kB / 432.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002081/0.3349, allocations: 96.98 kB / 432.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.3349, allocations: 3.406 kB / 432.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004553/0.3354, allocations: 167.6 kB / 432.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.3354, allocations: 193 kB / 433.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.3358, allocations: 336.9 kB / 433.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.3358, allocations: 34.83 kB / 433.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.3359, allocations: 131.3 kB / 433.6 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.3359, allocations: 21.42 kB / 433.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.336, allocations: 28.75 kB / 433.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.336, allocations: 339 kB / 434 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.904e-05/0.3361, allocations: 24.75 kB / 434 MB, free: 9.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.3362, allocations: 102.9 kB / 434.1 MB, free: 9.406 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3364, allocations: 99.88 kB / 434.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3364, allocations: 2.25 kB / 434.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002365/0.3366, allocations: 139.8 kB / 434.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.3366, allocations: 10.36 kB / 434.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3366, allocations: 2.781 kB / 434.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.3367, allocations: 2.531 kB / 434.3 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3368, allocations: 27.03 kB / 434.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3368, allocations: 0 / 434.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.202e-05/0.3369, allocations: 16.14 kB / 434.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3369, allocations: 4.281 kB / 434.4 MB, free: 9.309 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.0001243/0.337, allocations: 163.8 kB / 434.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.3371, allocations: 73.14 kB / 434.6 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.3372, allocations: 30.89 kB / 434.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3372, allocations: 2.688 kB / 434.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3372, allocations: 5.781 kB / 434.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3372, allocations: 6.25 kB / 434.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.3374, allocations: 248.7 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3374, allocations: 1.125 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.376e-05/0.3375, allocations: 16.44 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3375, allocations: 2.125 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.3375, allocations: 6.656 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3375, allocations: 3.469 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3375, allocations: 1.156 kB / 434.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.3378, allocations: 192.5 kB / 435.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.3379, allocations: 116.7 kB / 435.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3379, allocations: 7.891 kB / 435.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.338, allocations: 4.031 kB / 435.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.338, allocations: 12.06 kB / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.338, allocations: 5.406 kB / 435.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002417/0.3383, allocations: 252.8 kB / 435.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3383, allocations: 0 / 435.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.3386, allocations: 45.25 kB / 435.5 MB, free: 8.641 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.001923/0.3405, allocations: 1.033 MB / 436.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.3408, allocations: 86 kB / 436.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3408, allocations: 1.344 kB / 436.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.513e-05/0.3409, allocations: 36.91 kB / 436.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.3413, allocations: 72.91 kB / 436.8 MB, free: 7.934 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.3438, allocations: 2.286 MB / 439.1 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.344, allocations: 0.7506 MB / 439.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3441, allocations: 28.3 kB / 439.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.3442, allocations: 61.66 kB / 439.9 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3442, allocations: 4 kB / 439.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.3762, allocations: 5.508 MB / 445.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.435, allocations: 4.656 kB / 445.4 MB, free: 4.75 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.193322731996886]