Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.0008146/0.0008146, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0008104/0.0008104, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8888/0.8888, allocations: 177 MB / 204.1 MB, free: 5.742 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.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.58e-05/3.763e-05, allocations: 2.844 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002719/0.002757, allocations: 1.996 MB / 326.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.004534, allocations: 1.203 MB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000199/0.004733, allocations: 7.938 kB / 327.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.005428, allocations: 155.4 kB / 327.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004072/0.005835, allocations: 163.2 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.006367, allocations: 215.2 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.006642, allocations: 235.3 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.006766, allocations: 36.5 kB / 328.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.0069, allocations: 119.7 kB / 328.6 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.007024, allocations: 83.77 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.538e-05/0.00705, allocations: 15.94 kB / 328.7 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.007178, allocations: 59.95 kB / 328.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.08e-05/0.007249, allocations: 59.77 kB / 328.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.00731, allocations: 51.78 kB / 328.9 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.007617, allocations: 267.1 kB / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.00762, allocations: 0 / 329.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007621, allocations: 4 kB / 329.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.007626, allocations: 0 / 329.2 MB, free: 11.23 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007173/0.008343, allocations: 494.4 kB / 329.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.008396, allocations: 11.98 kB / 329.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.608e-05/0.008442, allocations: 46.73 kB / 329.7 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.485e-05/0.008497, allocations: 28.8 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.008833, allocations: 224.8 kB / 329.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.008865, allocations: 16.3 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.008884, allocations: 12.38 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000449/0.009333, allocations: 298.8 kB / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.009345, allocations: 192 / 330.3 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.009362, allocations: 8.125 kB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.009372, allocations: 4 kB / 330.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.009484, allocations: 63.91 kB / 330.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.009939, allocations: 333.5 kB / 330.7 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.01017, allocations: 179.8 kB / 330.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.01026, allocations: 82.55 kB / 330.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.01029, allocations: 7.984 kB / 330.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001254/0.01041, allocations: 79.45 kB / 331 MB, free: 9.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.342e-06/0.01041, allocations: 0 / 331 MB, free: 9.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003584/0.01077, allocations: 225.3 kB / 331.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.01085, allocations: 126.7 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.01106, allocations: 281.9 kB / 331.6 MB, free: 8.531 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.01108, allocations: 29.7 kB / 331.7 MB, free: 8.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.01115, allocations: 124.6 kB / 331.8 MB, free: 8.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.01118, allocations: 31.78 kB / 331.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.01122, allocations: 41.7 kB / 331.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.01132, allocations: 330.8 kB / 332.2 MB, free: 7.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.632e-05/0.01136, allocations: 27.98 kB / 332.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.006e-05/0.01144, allocations: 107.7 kB / 332.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.01155, allocations: 97.02 kB / 332.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.01155, allocations: 3.938 kB / 332.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001538/0.0117, allocations: 145.4 kB / 332.5 MB, free: 7.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.01171, allocations: 8 kB / 332.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.01172, allocations: 384 / 332.5 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.01173, allocations: 7.984 kB / 332.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.266e-05/0.0118, allocations: 19.98 kB / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.0118, allocations: 0 / 332.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.22e-05/0.01184, allocations: 7.938 kB / 332.6 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01185, allocations: 4.156 kB / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.000116/0.01197, allocations: 162 kB / 332.7 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.01209, allocations: 129.5 kB / 332.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.01224, allocations: 115.4 kB / 333 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.01224, allocations: 4 kB / 333 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.01225, allocations: 4 kB / 333 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.01226, allocations: 7.922 kB / 333 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.0124, allocations: 208.6 kB / 333.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.0124, allocations: 0 / 333.2 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.424e-05/0.01242, allocations: 8 kB / 333.2 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.01243, allocations: 4 kB / 333.2 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.01244, allocations: 15.92 kB / 333.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01244, allocations: 0 / 333.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01244, allocations: 4 kB / 333.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.01266, allocations: 238.2 kB / 333.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.01273, allocations: 43.77 kB / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.01275, allocations: 8 kB / 333.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.849e-05/0.01279, allocations: 4 kB / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.01283, allocations: 11.98 kB / 333.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.01284, allocations: 4 kB / 333.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.01299, allocations: 213.2 kB / 333.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01299, allocations: 0 / 333.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.01319, allocations: 43.94 kB / 333.8 MB, free: 6.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001438/0.01463, allocations: 1.18 MB / 335 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01488, allocations: 104 kB / 335.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01488, allocations: 4.062 kB / 335.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.01493, allocations: 31.92 kB / 335.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.01529, allocations: 108.5 kB / 335.2 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.01707, allocations: 2.17 MB / 337.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.01719, allocations: 145.5 kB / 337.5 MB, free: 2.434 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.01727, allocations: 29.92 kB / 337.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.01738, allocations: 64.48 kB / 337.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01738, allocations: 0 / 337.6 MB, free: 2.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.03886, allocations: 6.443 MB / 344.1 MB, free: 11.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.861/6.9, allocations: 11.02 kB / 344.1 MB, free: 11.92 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv --start-time 0 --stop-time 0.09 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.78926e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable upSample1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample2.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable and1.y in file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable and1.y from file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.693199409171939]