Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001669/0.001669, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00193/0.00193, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.423/1.423, allocations: 230.5 MB / 254 MB, free: 15.03 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.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 53.37 MB / 426.3 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold): time 0.003897/0.111, allocations: 1.928 MB / 428.3 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1133, allocations: 1.25 MB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.1134, allocations: 7.938 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.1141, allocations: 143.5 kB / 429.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.1145, allocations: 159.4 kB / 429.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.1151, allocations: 169.8 kB / 430 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.1154, allocations: 195.4 kB / 430.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1155, allocations: 25.67 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1157, allocations: 83.62 kB / 430.3 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1158, allocations: 83.55 kB / 430.4 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.1159, allocations: 12 kB / 430.4 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.116, allocations: 59.97 kB / 430.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.655e-05/0.1161, allocations: 47.83 kB / 430.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.1162, allocations: 75.42 kB / 430.6 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.1166, allocations: 223 kB / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1166, allocations: 0 / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1166, allocations: 0 / 430.8 MB, free: 192 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1166, allocations: 0 / 430.8 MB, free: 192 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.1955/0.3121, allocations: 0.5204 MB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.3121, allocations: 10.44 kB / 431.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.3121, allocations: 39.73 kB / 431.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.3122, allocations: 22.45 kB / 431.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.3125, allocations: 280.6 kB / 431.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3126, allocations: 7.875 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.3126, allocations: 8.719 kB / 431.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.3129, allocations: 164 kB / 431.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3129, allocations: 5 kB / 431.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3129, allocations: 4.859 kB / 431.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.313, allocations: 2.594 kB / 431.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.3131, allocations: 37.38 kB / 431.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.3135, allocations: 451 kB / 432.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.3137, allocations: 130.1 kB / 432.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.3138, allocations: 53.61 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3138, allocations: 3.031 kB / 432.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.314, allocations: 94.62 kB / 432.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.314, allocations: 0 / 432.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00037/0.3144, allocations: 160 kB / 432.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.3144, allocations: 164.7 kB / 432.9 MB, free: 9.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.3147, allocations: 279.6 kB / 433.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.3147, allocations: 27.89 kB / 433.2 MB, free: 9.789 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3147, allocations: 119.3 kB / 433.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3148, allocations: 22.25 kB / 433.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.3148, allocations: 37.91 kB / 433.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.3149, allocations: 336.6 kB / 433.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.3149, allocations: 18.78 kB / 433.7 MB, free: 9.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.984e-05/0.315, allocations: 81.3 kB / 433.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.3151, allocations: 91.64 kB / 433.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3151, allocations: 0 / 433.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002032/0.3153, allocations: 130.4 kB / 434 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3154, allocations: 8.469 kB / 434 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3154, allocations: 0 / 434 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3154, allocations: 1.344 kB / 434 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.745e-05/0.3154, allocations: 16.22 kB / 434 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3155, allocations: 4.344 kB / 434.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.3155, allocations: 11.73 kB / 434.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.3155, allocations: 12.31 kB / 434.1 MB, free: 9.207 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 9.057e-05/0.3156, allocations: 150.5 kB / 434.2 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.3157, allocations: 71.86 kB / 434.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.3157, allocations: 24.61 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3158, allocations: 2.312 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3158, allocations: 8.797 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3158, allocations: 1.984 kB / 434.3 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3159, allocations: 241.4 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3159, allocations: 1.094 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.3159, allocations: 4.344 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.316, allocations: 2.188 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.316, allocations: 6.156 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.316, allocations: 1.094 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.316, allocations: 1.094 kB / 434.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002237/0.3162, allocations: 180.2 kB / 434.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3163, allocations: 107.8 kB / 434.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.3163, allocations: 5.438 kB / 434.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.201e-05/0.3163, allocations: 5.688 kB / 434.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3164, allocations: 10.39 kB / 434.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3164, allocations: 4.531 kB / 434.9 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001465/0.3165, allocations: 205.7 kB / 435.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3165, allocations: 0 / 435.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3168, allocations: 37.5 kB / 435.1 MB, free: 8.547 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.001717/0.3185, allocations: 1.024 MB / 436.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.3187, allocations: 82.52 kB / 436.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3187, allocations: 1.156 kB / 436.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.3188, allocations: 23.56 kB / 436.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3192, allocations: 70.84 kB / 436.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.3211, allocations: 2.03 MB / 438.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3212, allocations: 0.7372 MB / 439.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.126e-05/0.3213, allocations: 23.61 kB / 439.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-05/0.3214, allocations: 51.17 kB / 439.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3214, allocations: 0 / 439.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.3519, allocations: 4.847 MB / 444 MB, free: 4.816 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.687/8.038, allocations: 3.656 kB / 444 MB, free: 4.816 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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_BooleanSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.Hold_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable shiftSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable shiftSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! Error: Could not read variable hold1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv. Warning: Get data of variable hold1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.61759764002636]