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.001686/0.001686, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001912/0.001912, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.398/1.398, allocations: 230.4 MB / 254 MB, free: 15.03 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.001822/0.001822, allocations: 63.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 53.38 MB / 426.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00351/0.1073, allocations: 2.012 MB / 428.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1094, allocations: 1.277 MB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1095, allocations: 7.938 kB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.1101, allocations: 151.5 kB / 429.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.1104, allocations: 159.3 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005619/0.111, allocations: 218.2 kB / 430.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002925/0.1113, allocations: 231.4 kB / 430.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1114, allocations: 28.3 kB / 430.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1116, allocations: 99.62 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001333/0.1117, allocations: 99.52 kB / 430.6 MB, free: 376 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.1117, allocations: 12 kB / 430.6 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1119, allocations: 67.89 kB / 430.7 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.153e-05/0.1119, allocations: 55.84 kB / 430.7 MB, free: 240 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.96e-05/0.112, allocations: 95.39 kB / 430.8 MB, free: 144 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1936/0.3056, allocations: 258.6 kB / 431.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3056, allocations: 1.312 kB / 431.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3056, allocations: 0 / 431.1 MB, free: 8.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.3056, allocations: 0.9375 kB / 431.1 MB, free: 8.008 MB / 350.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.00083/0.3065, allocations: 0.5564 MB / 431.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.3065, allocations: 9.438 kB / 431.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.3066, allocations: 44.55 kB / 431.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.3066, allocations: 30.53 kB / 431.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.307, allocations: 295 kB / 432 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.307, allocations: 10.66 kB / 432 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.307, allocations: 19.3 kB / 432 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005026/0.3075, allocations: 301.8 kB / 432.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.3075, allocations: 0.625 kB / 432.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3075, allocations: 7.578 kB / 432.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3075, allocations: 2.062 kB / 432.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3077, allocations: 67.83 kB / 432.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/0.3081, allocations: 394 kB / 432.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.3084, allocations: 165.2 kB / 433 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.3085, allocations: 74.86 kB / 433 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.3085, allocations: 2.906 kB / 433 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/0.3087, allocations: 82.19 kB / 433.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.3087, allocations: 0.5625 kB / 433.1 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004579/0.3091, allocations: 223.4 kB / 433.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3092, allocations: 145.7 kB / 433.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.3094, allocations: 282.7 kB / 433.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3094, allocations: 31.8 kB / 433.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.3095, allocations: 125.2 kB / 433.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.3095, allocations: 28 kB / 433.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.3096, allocations: 51.75 kB / 434 MB, free: 6.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.3096, allocations: 338.6 kB / 434.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.3097, allocations: 36.33 kB / 434.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.3098, allocations: 170.6 kB / 434.5 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.31, allocations: 200.5 kB / 434.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.31, allocations: 2.531 kB / 434.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003058/0.3103, allocations: 228.7 kB / 434.9 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3103, allocations: 7.406 kB / 435 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3103, allocations: 5.312 kB / 435 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3104, allocations: 9.562 kB / 435 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.3104, allocations: 28.52 kB / 435 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3105, allocations: 11.58 kB / 435 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.3106, allocations: 19.2 kB / 435 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.3106, allocations: 16.53 kB / 435 MB, free: 5.59 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.0001061/0.3107, allocations: 164.2 kB / 435.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.3108, allocations: 130.5 kB / 435.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.934e-05/0.3109, allocations: 35.48 kB / 435.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.3109, allocations: 2.812 kB / 435.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3109, allocations: 1.188 kB / 435.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.3109, allocations: 4.266 kB / 435.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3111, allocations: 247.2 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3111, allocations: 1.375 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.762e-05/0.3111, allocations: 16.22 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3111, allocations: 2.25 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.3111, allocations: 5.25 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3111, allocations: 2.469 kB / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3111, allocations: 0 / 435.6 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3114, allocations: 229.7 kB / 435.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.3115, allocations: 122 kB / 436 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.3115, allocations: 8.188 kB / 436 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.3116, allocations: 8.594 kB / 436 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.3117, allocations: 5.406 kB / 436 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.3117, allocations: 14.52 kB / 436 MB, free: 5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001729/0.3118, allocations: 207 kB / 436.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3118, allocations: 0 / 436.2 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.3121, allocations: 40.66 kB / 436.3 MB, free: 4.922 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.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent) * 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 (22): * Single equations (assignments): 20 * 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.001948/0.3141, allocations: 1.15 MB / 437.4 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.3144, allocations: 136.3 kB / 437.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3144, allocations: 0 / 437.5 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.3144, allocations: 30.27 kB / 437.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.3149, allocations: 111.5 kB / 437.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3171, allocations: 2.406 MB / 440.1 MB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.3172, allocations: 0.7599 MB / 440.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.535e-05/0.3173, allocations: 29.94 kB / 440.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-05/0.3174, allocations: 68.11 kB / 440.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3174, allocations: 0 / 440.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02914/0.3466, allocations: 5.679 MB / 446.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.121, allocations: 8.062 kB / 446.6 MB, free: 1.055 MB / 350.1 MB " [Timeout remaining time 652] (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: 10.749361129943281]