Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 184 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00235/0.00235, allocations: 47.92 kB / 370.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2998, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00383/0.3036, allocations: 1.963 MB / 424.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002361/0.306, allocations: 1.052 MB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.3061, allocations: 11.88 kB / 425.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007796/0.3069, allocations: 159.5 kB / 425.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.3073, allocations: 127.5 kB / 425.9 MB, free: 11.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.3081, allocations: 237.5 kB / 426.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003495/0.3085, allocations: 219.4 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.3086, allocations: 36.36 kB / 426.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3088, allocations: 99.56 kB / 426.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001862/0.309, allocations: 91.53 kB / 426.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.618e-05/0.309, allocations: 16 kB / 426.6 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3092, allocations: 55.97 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.906e-05/0.3093, allocations: 59.81 kB / 426.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3094, allocations: 67.48 kB / 426.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.3098, allocations: 260.8 kB / 427 MB, free: 9.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3098, allocations: 0 / 427 MB, free: 9.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3098, allocations: 0 / 427 MB, free: 9.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.3099, allocations: 3.938 kB / 427 MB, free: 9.977 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001/0.3109, allocations: 482.6 kB / 427.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.3109, allocations: 16.03 kB / 427.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.703e-05/0.311, allocations: 46.73 kB / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.022e-05/0.3111, allocations: 24.8 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.3115, allocations: 225 kB / 427.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/0.3115, allocations: 16.36 kB / 427.8 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.3116, allocations: 15.94 kB / 427.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005745/0.3121, allocations: 289.1 kB / 428.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.3121, allocations: 0 / 428.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3122, allocations: 7.984 kB / 428.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3122, allocations: 4 kB / 428.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3123, allocations: 67.91 kB / 428.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.3129, allocations: 341.5 kB / 428.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.3132, allocations: 163.9 kB / 428.7 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.3134, allocations: 86.64 kB / 428.7 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.3134, allocations: 4 kB / 428.8 MB, free: 8.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.3136, allocations: 71.39 kB / 428.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3136, allocations: 0 / 428.8 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005357/0.3141, allocations: 237.6 kB / 429.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.3142, allocations: 122.8 kB / 429.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003348/0.3146, allocations: 272.8 kB / 429.4 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.92e-05/0.3146, allocations: 37.64 kB / 429.5 MB, free: 7.27 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3147, allocations: 112.6 kB / 429.6 MB, free: 7.156 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.3147, allocations: 35.77 kB / 429.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.151e-05/0.3148, allocations: 57.88 kB / 429.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.315, allocations: 330.8 kB / 430 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.436e-05/0.3151, allocations: 44.44 kB / 430 MB, free: 6.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3153, allocations: 184 kB / 430.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3156, allocations: 211.2 kB / 430.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3156, allocations: 0 / 430.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003745/0.316, allocations: 225.3 kB / 430.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.316, allocations: 4 kB / 430.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.316, allocations: 4 kB / 430.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.3161, allocations: 8 kB / 430.7 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3162, allocations: 27.92 kB / 430.7 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3162, allocations: 7.938 kB / 430.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3163, allocations: 23.88 kB / 430.7 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.3163, allocations: 12.66 kB / 430.7 MB, free: 5.867 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001832/0.3165, allocations: 171.9 kB / 430.9 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.3167, allocations: 121.5 kB / 431 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.317, allocations: 119.7 kB / 431.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.317, allocations: 4 kB / 431.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.317, allocations: 0 / 431.1 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.317, allocations: 7.938 kB / 431.2 MB, free: 5.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3172, allocations: 208.6 kB / 431.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3172, allocations: 0 / 431.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3173, allocations: 15.98 kB / 431.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.3173, allocations: 0 / 431.4 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.3173, allocations: 8 kB / 431.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3173, allocations: 0 / 431.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3173, allocations: 3.938 kB / 431.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.3177, allocations: 234.4 kB / 431.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.3178, allocations: 39.92 kB / 431.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.3178, allocations: 11.94 kB / 431.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.3179, allocations: 11.98 kB / 431.7 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3179, allocations: 3.938 kB / 431.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.318, allocations: 11.98 kB / 431.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.3182, allocations: 204.5 kB / 431.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3182, allocations: 0 / 431.9 MB, free: 4.625 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.3185, allocations: 43.94 kB / 431.9 MB, free: 4.582 MB / 334.1 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.002449/0.3209, allocations: 1.202 MB / 433.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.3212, allocations: 147 kB / 433.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3213, allocations: 0 / 433.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.3213, allocations: 27.98 kB / 433.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.3218, allocations: 111.4 kB / 433.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.3248, allocations: 2.386 MB / 435.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.325, allocations: 148.7 kB / 435.9 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.276e-05/0.3251, allocations: 42.72 kB / 436 MB, free: 484 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.3252, allocations: 63.41 kB / 436 MB, free: 420 kB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3252, allocations: 4 kB / 436.1 MB, free: 416 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03483/0.36, allocations: 6.341 MB / 442.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.52, allocations: 8.047 kB / 442.4 MB, free: 10.12 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable upSample2.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable upSample2.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! Error: Could not read variable and1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv. Warning: Get data of variable and1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.182484833989292]