Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001789/0.001789, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002274/0.002274, allocations: 206.3 kB / 23.72 MB, free: 4.391 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.48/1.48, allocations: 230.5 MB / 257.4 MB, free: 7.723 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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 60.05 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3095, allocations: 53.41 MB / 431.1 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.004224/0.3138, allocations: 1.894 MB / 433 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3161, allocations: 1.242 MB / 434.3 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3162, allocations: 7.938 kB / 434.3 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.3166, allocations: 63.67 kB / 434.3 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.317, allocations: 143.4 kB / 434.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.3176, allocations: 226.4 kB / 434.7 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.3179, allocations: 187.5 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.318, allocations: 23.42 kB / 434.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.3182, allocations: 87.56 kB / 435 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.3183, allocations: 79.67 kB / 435.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3183, allocations: 8 kB / 435.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3185, allocations: 79.88 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3186, allocations: 63.75 kB / 435.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.753e-05/0.3187, allocations: 59.55 kB / 435.3 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.3191, allocations: 239 kB / 435.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3191, allocations: 8 kB / 435.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3191, allocations: 3.938 kB / 435.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.3191, allocations: 0 / 435.5 MB, free: 2.191 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.0008243/0.3199, allocations: 486.5 kB / 436 MB, free: 1.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.32, allocations: 11.98 kB / 436 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.907e-05/0.32, allocations: 42.73 kB / 436.1 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.3201, allocations: 24.75 kB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.3205, allocations: 237.4 kB / 436.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3206, allocations: 12.38 kB / 436.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3206, allocations: 4.375 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.321, allocations: 197.4 kB / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.321, allocations: 0 / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.321, allocations: 0 / 436.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.321, allocations: 4 kB / 436.5 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.3211, allocations: 39.92 kB / 436.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006284/0.3217, allocations: 441.6 kB / 437 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.322, allocations: 142.5 kB / 437.1 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3221, allocations: 55.42 kB / 437.2 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.3222, allocations: 19.86 kB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3224, allocations: 93.05 kB / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.3224, allocations: 0 / 437.3 MB, free: 200 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004265/0.3228, allocations: 181.4 kB / 437.5 MB, free: 12 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.3229, allocations: 158.2 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.3233, allocations: 340.2 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3233, allocations: 33.7 kB / 438 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.3234, allocations: 132.3 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.3234, allocations: 19.89 kB / 438.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.3235, allocations: 33.7 kB / 438.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.3237, allocations: 338.8 kB / 438.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.3237, allocations: 24.36 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.3239, allocations: 153.6 kB / 438.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.324, allocations: 101 kB / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3241, allocations: 0 / 438.8 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002514/0.3243, allocations: 145.9 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3243, allocations: 4 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3243, allocations: 8 kB / 438.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3243, allocations: 0 / 438.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3245, allocations: 27.92 kB / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3245, allocations: 0 / 439 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.154e-05/0.3245, allocations: 15.89 kB / 439 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.3246, allocations: 8 kB / 439 MB, free: 14.37 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.0001451/0.3247, allocations: 162.6 kB / 439.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.259e-05/0.3248, allocations: 69.59 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.3251, allocations: 131.4 kB / 439.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3251, allocations: 0 / 439.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3251, allocations: 4 kB / 439.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3251, allocations: 0 / 439.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3253, allocations: 216.5 kB / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3253, allocations: 0 / 439.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/0.3254, allocations: 16 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3254, allocations: 0 / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3254, allocations: 7.984 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3254, allocations: 4.062 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3254, allocations: 0 / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.3257, allocations: 195.3 kB / 439.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.102e-05/0.3258, allocations: 47.77 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.3258, allocations: 0 / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.037e-05/0.3259, allocations: 8 kB / 439.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.3259, allocations: 7.984 kB / 439.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3259, allocations: 7.984 kB / 439.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002489/0.3262, allocations: 255 kB / 440.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3262, allocations: 0 / 440.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3265, allocations: 39.98 kB / 440.1 MB, free: 13.13 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.002119/0.3286, allocations: 1.066 MB / 441.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.3288, allocations: 87.83 kB / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3288, allocations: 0 / 441.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.3289, allocations: 32.3 kB / 441.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.3293, allocations: 91.44 kB / 441.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.332, allocations: 2.31 MB / 443.7 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3322, allocations: 140.4 kB / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.3323, allocations: 21.64 kB / 443.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.3324, allocations: 67.41 kB / 443.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3324, allocations: 0 / 443.9 MB, free: 9.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.3687, allocations: 6.242 MB / 450.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.45, allocations: 7.938 kB / 450.2 MB, free: 3.09 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.13085865508765]