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.00126/0.00126, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001451/0.001451, allocations: 213.3 kB / 23.72 MB, free: 4.531 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.392/1.392, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.001522/0.001522, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2865, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.00562/0.2921, allocations: 1.908 MB / 433 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003245/0.2954, allocations: 1.223 MB / 434.2 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.2955, allocations: 7.938 kB / 434.2 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004432/0.296, allocations: 71.66 kB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.2965, allocations: 135.4 kB / 434.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2976, allocations: 227.3 kB / 434.6 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.298, allocations: 195.4 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.2981, allocations: 23.42 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.2983, allocations: 87.58 kB / 434.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.2985, allocations: 87.66 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.2985, allocations: 8 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.2988, allocations: 75.95 kB / 435.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2989, allocations: 59.7 kB / 435.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.299, allocations: 55.61 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.2996, allocations: 258.9 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.2996, allocations: 0 / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2996, allocations: 0 / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.2996, allocations: 0 / 435.5 MB, free: 2.254 MB / 334.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.001019/0.3006, allocations: 486.4 kB / 435.9 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3007, allocations: 8.031 kB / 436 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.36e-05/0.3007, allocations: 38.75 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.3008, allocations: 28.75 kB / 436 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005983/0.3014, allocations: 229.5 kB / 436.2 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.3015, allocations: 16.3 kB / 436.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3015, allocations: 7.938 kB / 436.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.302, allocations: 197.3 kB / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.302, allocations: 0 / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.302, allocations: 0 / 436.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.302, allocations: 4 kB / 436.5 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.3022, allocations: 43.91 kB / 436.5 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.303, allocations: 433.6 kB / 436.9 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.3034, allocations: 142.5 kB / 437.1 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.3036, allocations: 59.42 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3036, allocations: 4 kB / 437.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.3039, allocations: 100.9 kB / 437.2 MB, free: 276 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.3039, allocations: 0 / 437.2 MB, free: 276 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006116/0.3045, allocations: 185.5 kB / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.3046, allocations: 158.6 kB / 437.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.3052, allocations: 348.1 kB / 437.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.3053, allocations: 33.7 kB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3054, allocations: 132.3 kB / 438.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3055, allocations: 23.95 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.3056, allocations: 29.72 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.3058, allocations: 334.8 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.3059, allocations: 27.98 kB / 438.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.3061, allocations: 153.2 kB / 438.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.3064, allocations: 97.11 kB / 438.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.3064, allocations: 4 kB / 438.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004065/0.3068, allocations: 137.4 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.3068, allocations: 8 kB / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3068, allocations: 0 / 438.9 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.3069, allocations: 4.156 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.307, allocations: 27.92 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.307, allocations: 0 / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3072, allocations: 27.81 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3072, allocations: 4 kB / 438.9 MB, free: 14.43 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.0002101/0.3074, allocations: 149.8 kB / 439.1 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/0.3076, allocations: 73.48 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003942/0.308, allocations: 131.3 kB / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.308, allocations: 64 / 439.3 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.308, allocations: 8 kB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.308, allocations: 3.938 kB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.3083, allocations: 208.6 kB / 439.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3083, allocations: 0 / 439.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.3085, allocations: 19.98 kB / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.3085, allocations: 0 / 439.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.3085, allocations: 12.12 kB / 439.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.3085, allocations: 0 / 439.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3085, allocations: 4 kB / 439.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.3089, allocations: 191.3 kB / 439.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.3091, allocations: 47.78 kB / 439.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.3091, allocations: 7.984 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3092, allocations: 4 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.3093, allocations: 11.92 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.3093, allocations: 12 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004045/0.3097, allocations: 251 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3097, allocations: 3.938 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000497/0.3102, allocations: 32 kB / 440.1 MB, free: 13.2 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.003034/0.3133, allocations: 1.072 MB / 441.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.3136, allocations: 87.81 kB / 441.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3136, allocations: 3.938 kB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.3138, allocations: 43.95 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.3144, allocations: 72.78 kB / 441.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.3185, allocations: 2.303 MB / 443.7 MB, free: 9.637 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3187, allocations: 132.2 kB / 443.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.3188, allocations: 33.62 kB / 443.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.319, allocations: 67.34 kB / 443.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.319, allocations: 0 / 443.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0339/0.3529, allocations: 6.291 MB / 450.2 MB, free: 3.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.31, allocations: 0 / 450.2 MB, free: 3.184 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.898348218994215]