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.001039/0.001039, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001247/0.001247, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9034/0.9034, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 2.214e-06/2.214e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.207e-05, allocations: 7.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.002666/0.002698, allocations: 1.9 MB / 326.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.00433, allocations: 1.246 MB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.004495, allocations: 0 / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.004868, allocations: 67.55 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004314/0.005299, allocations: 139.3 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008131/0.006112, allocations: 234.5 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.006409, allocations: 195.4 kB / 328.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.00653, allocations: 21.8 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.006682, allocations: 103.7 kB / 328.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.0068, allocations: 75.78 kB / 328.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.006822, allocations: 8 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.007, allocations: 75.88 kB / 328.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.124e-05/0.007091, allocations: 51.84 kB / 328.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.072e-05/0.007152, allocations: 51.78 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.007515, allocations: 251.2 kB / 328.9 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.007519, allocations: 3.938 kB / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.007521, allocations: 0 / 328.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.007526, allocations: 0 / 328.9 MB, free: 11.46 MB / 298.7 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.0005861/0.008112, allocations: 478.5 kB / 329.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.008152, allocations: 15.98 kB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.029e-05/0.008183, allocations: 38.73 kB / 329.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.008234, allocations: 28.75 kB / 329.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.008612, allocations: 240.7 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.008632, allocations: 4.375 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.008649, allocations: 8.375 kB / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.008987, allocations: 190.4 kB / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.008996, allocations: 192 / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.009011, allocations: 8.125 kB / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.009017, allocations: 0 / 329.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.561e-05/0.009112, allocations: 51.91 kB / 330 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.009639, allocations: 425.7 kB / 330.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.009834, allocations: 138.5 kB / 330.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.009898, allocations: 59.41 kB / 330.6 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.009922, allocations: 4 kB / 330.6 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.01007, allocations: 113 kB / 330.7 MB, free: 9.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.01007, allocations: 4 kB / 330.7 MB, free: 9.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002987/0.01037, allocations: 177.3 kB / 330.9 MB, free: 9.297 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.01044, allocations: 162.2 kB / 331 MB, free: 9.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.01069, allocations: 344.2 kB / 331.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.01071, allocations: 29.7 kB / 331.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.429e-05/0.01079, allocations: 136.3 kB / 331.5 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01082, allocations: 15.91 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.01087, allocations: 30.02 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.01096, allocations: 334.8 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.01101, allocations: 23.98 kB / 331.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.655e-05/0.01109, allocations: 119.7 kB / 332 MB, free: 8.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.617e-05/0.01118, allocations: 74.44 kB / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01119, allocations: 0 / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001484/0.01133, allocations: 117.5 kB / 332.2 MB, free: 7.824 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.01135, allocations: 4 kB / 332.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.01136, allocations: 8.078 kB / 332.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.01138, allocations: 0 / 332.2 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.01146, allocations: 12 kB / 332.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01146, allocations: 4 kB / 332.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.121e-05/0.01151, allocations: 15.92 kB / 332.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.01152, allocations: 0 / 332.2 MB, free: 7.781 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001177/0.01164, allocations: 153.7 kB / 332.4 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.01171, allocations: 77.5 kB / 332.5 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001967/0.01191, allocations: 127.5 kB / 332.6 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.01191, allocations: 8 kB / 332.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01191, allocations: 320 / 332.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.01192, allocations: 7.984 kB / 332.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.01209, allocations: 208.6 kB / 332.8 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.0121, allocations: 4 kB / 332.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.01215, allocations: 15.98 kB / 332.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01216, allocations: 4 kB / 332.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01217, allocations: 0 / 332.8 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01217, allocations: 7.938 kB / 332.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01217, allocations: 0 / 332.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.01235, allocations: 195.4 kB / 333 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.01242, allocations: 43.73 kB / 333.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.01244, allocations: 11.98 kB / 333.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.01248, allocations: 4 kB / 333.1 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.01253, allocations: 12.17 kB / 333.1 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.01254, allocations: 4 kB / 333.1 MB, free: 6.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.01271, allocations: 255 kB / 333.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01271, allocations: 0 / 333.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.01292, allocations: 32 kB / 333.4 MB, free: 6.535 MB / 298.7 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.001105/0.01402, allocations: 1.069 MB / 334.5 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.01423, allocations: 75.83 kB / 334.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.01423, allocations: 0 / 334.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.942e-05/0.01429, allocations: 35.92 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.0146, allocations: 60.97 kB / 334.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.01653, allocations: 2.25 MB / 336.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01663, allocations: 132.2 kB / 337 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.01672, allocations: 33.61 kB / 337 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.0168, allocations: 60.48 kB / 337.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.0168, allocations: 0 / 337.1 MB, free: 2.805 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.03931, allocations: 6.356 MB / 343.5 MB, free: 12.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.076, allocations: 3.984 kB / 343.5 MB, free: 12.5 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins/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: 8.90447558555752]