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.001799/0.001799, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002205/0.002205, allocations: 214.6 kB / 23.73 MB, free: 4.164 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.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 0.002937/0.002937, allocations: 60.14 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2984, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004148/0.3026, allocations: 1.991 MB / 433.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.3048, allocations: 1.196 MB / 434.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.3049, allocations: 7.938 kB / 434.3 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006097/0.3055, allocations: 159.4 kB / 434.5 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.3059, allocations: 163.4 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005941/0.3065, allocations: 214.4 kB / 434.8 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003183/0.3068, allocations: 231.4 kB / 435.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3069, allocations: 32.38 kB / 435.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.3071, allocations: 99.62 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3072, allocations: 99.47 kB / 435.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.3073, allocations: 12 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.3074, allocations: 63.95 kB / 435.4 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.141e-05/0.3075, allocations: 63.75 kB / 435.4 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.051e-05/0.3076, allocations: 67.55 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003598/0.3079, allocations: 260.7 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3079, allocations: 0 / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3079, allocations: 0 / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3079, allocations: 4 kB / 435.8 MB, free: 1.824 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.0008365/0.3088, allocations: 498.4 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3088, allocations: 15.98 kB / 436.3 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.3089, allocations: 46.73 kB / 436.3 MB, free: 1.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.3089, allocations: 24.8 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.3093, allocations: 225.1 kB / 436.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3093, allocations: 8.375 kB / 436.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.3093, allocations: 16.38 kB / 436.6 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005424/0.3099, allocations: 304.7 kB / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3099, allocations: 0 / 436.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3099, allocations: 12 kB / 436.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3099, allocations: 3.984 kB / 436.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.3101, allocations: 63.91 kB / 437 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.3106, allocations: 341.5 kB / 437.3 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.3109, allocations: 163.9 kB / 437.4 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.3111, allocations: 86.66 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3111, allocations: 0 / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3113, allocations: 79.3 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3113, allocations: 4 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004916/0.3118, allocations: 229.4 kB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.3118, allocations: 114.8 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.3121, allocations: 281 kB / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3122, allocations: 37.64 kB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.809e-05/0.3123, allocations: 124.6 kB / 438.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3123, allocations: 31.83 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.3124, allocations: 49.94 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3125, allocations: 346.8 kB / 438.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.3126, allocations: 32.7 kB / 438.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.3128, allocations: 194.9 kB / 439 MB, free: 14.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.3131, allocations: 207.2 kB / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3131, allocations: 0 / 439.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003652/0.3135, allocations: 229.1 kB / 439.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.3135, allocations: 8 kB / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3135, allocations: 4 kB / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3135, allocations: 4 kB / 439.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/0.3136, allocations: 27.92 kB / 439.5 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3136, allocations: 8.469 kB / 439.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.3137, allocations: 19.89 kB / 439.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3137, allocations: 16 kB / 439.5 MB, free: 13.68 MB / 350.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.0001629/0.3139, allocations: 168.7 kB / 439.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/0.3141, allocations: 129.7 kB / 439.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.3143, allocations: 119.7 kB / 439.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3144, allocations: 4.094 kB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3144, allocations: 3.938 kB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.3144, allocations: 3.984 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.3146, allocations: 212.6 kB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.3146, allocations: 4 kB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.3146, allocations: 4 kB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3146, allocations: 4 kB / 440.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3146, allocations: 7.984 kB / 440.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3146, allocations: 4.062 kB / 440.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.3146, allocations: 7.938 kB / 440.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.315, allocations: 234.5 kB / 440.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.3151, allocations: 47.75 kB / 440.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3151, allocations: 8 kB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.3152, allocations: 8 kB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.3152, allocations: 7.984 kB / 440.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.3153, allocations: 12 kB / 440.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3155, allocations: 204.5 kB / 440.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3155, allocations: 0 / 440.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003072/0.3158, allocations: 51.86 kB / 440.8 MB, free: 12.37 MB / 350.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.002466/0.3183, allocations: 1.19 MB / 441.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003302/0.3186, allocations: 139.8 kB / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3186, allocations: 0 / 442.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.635e-05/0.3187, allocations: 27.98 kB / 442.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.3192, allocations: 110.2 kB / 442.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.3221, allocations: 2.432 MB / 444.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.3222, allocations: 145.5 kB / 444.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.503e-05/0.3223, allocations: 30.66 kB / 444.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.3224, allocations: 71.41 kB / 444.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3224, allocations: 0 / 444.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.3575, allocations: 6.425 MB / 451.3 MB, free: 1.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.45, allocations: 10.53 kB / 451.3 MB, free: 1.754 MB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/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: 14.079615165945143]