Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.001074/0.001074, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.001034/0.001034, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9079/0.9079, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.609e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002494/0.00251, allocations: 1.989 MB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.003941, allocations: 1.206 MB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.00405, allocations: 3.938 kB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.004571, allocations: 163.3 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.004851, allocations: 167.2 kB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.005223, allocations: 214.8 kB / 328.3 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.005436, allocations: 235.3 kB / 328.5 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.005542, allocations: 32.52 kB / 328.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005668, allocations: 131.6 kB / 328.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.005765, allocations: 79.78 kB / 328.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.005787, allocations: 16 kB / 328.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.005892, allocations: 59.95 kB / 328.8 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.005957, allocations: 63.77 kB / 328.9 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.006012, allocations: 47.83 kB / 328.9 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.006283, allocations: 263.1 kB / 329.2 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.006285, allocations: 3.938 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.006287, allocations: 3.938 kB / 329.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.006292, allocations: 0 / 329.2 MB, free: 11.27 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.0005826/0.006874, allocations: 486.5 kB / 329.7 MB, free: 10.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.006909, allocations: 12.03 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.006944, allocations: 50.73 kB / 329.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.00699, allocations: 24.8 kB / 329.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.00729, allocations: 228.7 kB / 330 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.007307, allocations: 8.375 kB / 330 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.007326, allocations: 16.38 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004046/0.00773, allocations: 296.2 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.00774, allocations: 0 / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.007754, allocations: 4 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.007758, allocations: 4 kB / 330.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.007864, allocations: 71.88 kB / 330.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.008294, allocations: 341.5 kB / 330.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.008535, allocations: 179.9 kB / 330.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.008627, allocations: 78.48 kB / 331 MB, free: 9.336 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.00865, allocations: 4 kB / 331 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.008786, allocations: 79.33 kB / 331.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/0.008788, allocations: 0 / 331.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003811/0.009169, allocations: 229.5 kB / 331.3 MB, free: 9.012 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.009241, allocations: 122.8 kB / 331.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.009469, allocations: 285.8 kB / 331.7 MB, free: 8.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.009493, allocations: 33.7 kB / 331.7 MB, free: 8.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.009579, allocations: 120.6 kB / 331.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.009608, allocations: 27.78 kB / 331.9 MB, free: 8.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.00966, allocations: 37.7 kB / 331.9 MB, free: 8.344 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.009774, allocations: 334.8 kB / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.571e-05/0.00982, allocations: 27.92 kB / 332.2 MB, free: 7.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.101e-05/0.009901, allocations: 107.7 kB / 332.4 MB, free: 7.848 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01002, allocations: 109.3 kB / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.01002, allocations: 0 / 332.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000162/0.01018, allocations: 141.4 kB / 332.6 MB, free: 7.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.0102, allocations: 7.984 kB / 332.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.0102, allocations: 160 / 332.6 MB, free: 7.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.01021, allocations: 8 kB / 332.6 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.628e-05/0.01028, allocations: 16 kB / 332.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01029, allocations: 0 / 332.6 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.01033, allocations: 7.984 kB / 332.6 MB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.01034, allocations: 12 kB / 332.6 MB, free: 7.527 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.0001133/0.01046, allocations: 153.7 kB / 332.8 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.01058, allocations: 129.8 kB / 332.9 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.01075, allocations: 123.3 kB / 333 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01075, allocations: 0 / 333 MB, free: 7.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.01076, allocations: 8 kB / 333.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01077, allocations: 96 / 333.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.01092, allocations: 208.5 kB / 333.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01092, allocations: 0 / 333.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.01095, allocations: 11.98 kB / 333.3 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.01096, allocations: 4 kB / 333.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.01097, allocations: 4 kB / 333.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.01097, allocations: 4 kB / 333.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01098, allocations: 0 / 333.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01121, allocations: 235.4 kB / 333.5 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.01127, allocations: 55.75 kB / 333.6 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.0113, allocations: 4.062 kB / 333.6 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.885e-05/0.01134, allocations: 11.98 kB / 333.6 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.01138, allocations: 8 kB / 333.6 MB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.0114, allocations: 11.98 kB / 333.6 MB, free: 6.488 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001276/0.01152, allocations: 201.2 kB / 333.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01152, allocations: 4 kB / 333.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.01171, allocations: 39.94 kB / 333.8 MB, free: 6.254 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.001232/0.01294, allocations: 1.2 MB / 335 MB, free: 5.207 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002221/0.01316, allocations: 107.9 kB / 335.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01316, allocations: 0 / 335.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.359e-05/0.01322, allocations: 31.92 kB / 335.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.0136, allocations: 104.9 kB / 335.3 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.01547, allocations: 2.167 MB / 337.4 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.628e-05/0.01556, allocations: 149.5 kB / 337.6 MB, free: 2.508 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.01562, allocations: 26.33 kB / 337.6 MB, free: 2.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.77e-05/0.01571, allocations: 72.41 kB / 337.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01571, allocations: 4 kB / 337.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.03494, allocations: 6.431 MB / 344.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.061/7.096, allocations: 14.92 kB / 344.1 MB, free: 12.02 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample2.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable and1.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable and1.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.940156992524862]