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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00146/0.00146, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.501/1.501, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 55.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3048, allocations: 50.53 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003354/0.3082, allocations: 2.014 MB / 410.8 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3101, allocations: 1.239 MB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.3103, allocations: 0 / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005929/0.3109, allocations: 167.4 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.3113, allocations: 163.3 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.3119, allocations: 203.4 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.3122, allocations: 239.4 kB / 412.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.3123, allocations: 44.28 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.3125, allocations: 95.61 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.3126, allocations: 99.48 kB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.3126, allocations: 16 kB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.3128, allocations: 55.95 kB / 413.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.203e-05/0.3129, allocations: 51.83 kB / 413.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.11e-05/0.3129, allocations: 95.41 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.3133, allocations: 268.7 kB / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3133, allocations: 0 / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3133, allocations: 0 / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3133, allocations: 0 / 413.5 MB, free: 12.81 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.0008659/0.3142, allocations: 0.5546 MB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3142, allocations: 8.031 kB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.693e-05/0.3143, allocations: 50.73 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.3144, allocations: 28.66 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.3148, allocations: 290.7 kB / 414.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3148, allocations: 8.375 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3148, allocations: 15.94 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005251/0.3154, allocations: 290.5 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3154, allocations: 3.938 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3154, allocations: 4 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3154, allocations: 4 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.3156, allocations: 63.91 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.3161, allocations: 398.2 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003179/0.3164, allocations: 168 kB / 415.3 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3166, allocations: 86.55 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.826e-05/0.3166, allocations: 3.984 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.3168, allocations: 83.33 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3168, allocations: 0 / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.000527/0.3174, allocations: 225.8 kB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.3175, allocations: 144.5 kB / 415.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002952/0.3178, allocations: 284.9 kB / 416.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.3178, allocations: 29.7 kB / 416.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.3179, allocations: 120.6 kB / 416.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.3179, allocations: 35.7 kB / 416.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.318, allocations: 49.94 kB / 416.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.3181, allocations: 330.8 kB / 416.7 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.3182, allocations: 48.38 kB / 416.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.3184, allocations: 166.1 kB / 416.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002248/0.3186, allocations: 195.2 kB / 417.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3186, allocations: 4 kB / 417.1 MB, free: 8.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003233/0.319, allocations: 229.3 kB / 417.3 MB, free: 8.531 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.319, allocations: 10.81 kB / 417.3 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.319, allocations: 8.594 kB / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3191, allocations: 8 kB / 417.3 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.269e-05/0.3192, allocations: 27.92 kB / 417.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3192, allocations: 15.92 kB / 417.4 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.3193, allocations: 23.78 kB / 417.4 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.3193, allocations: 8 kB / 417.4 MB, free: 8.434 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.0001522/0.3195, allocations: 167.9 kB / 417.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.3196, allocations: 125.3 kB / 417.7 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.3197, allocations: 33.7 kB / 417.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3197, allocations: 0 / 417.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3197, allocations: 4 kB / 417.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3198, allocations: 3.938 kB / 417.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.32, allocations: 249.5 kB / 418 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.32, allocations: 0 / 418 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.785e-05/0.32, allocations: 7.938 kB / 418 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.32, allocations: 7.938 kB / 418 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.32, allocations: 7.984 kB / 418 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.3201, allocations: 4 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3201, allocations: 0 / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.3204, allocations: 231.4 kB / 418.2 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.3205, allocations: 112.9 kB / 418.3 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3205, allocations: 15.88 kB / 418.4 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/0.3206, allocations: 8 kB / 418.4 MB, free: 7.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.3207, allocations: 7.984 kB / 418.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3207, allocations: 12 kB / 418.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.3209, allocations: 208.4 kB / 418.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3209, allocations: 0 / 418.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.3212, allocations: 51.89 kB / 418.6 MB, free: 7.094 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.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.001685/0.3229, allocations: 1.141 MB / 419.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.3233, allocations: 136.8 kB / 419.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3233, allocations: 0 / 419.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.3233, allocations: 35.98 kB / 420 MB, free: 5.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.3238, allocations: 120.6 kB / 420.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.3265, allocations: 2.394 MB / 422.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3268, allocations: 0.7558 MB / 423.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.3269, allocations: 34.45 kB / 423.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3271, allocations: 71.41 kB / 423.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3271, allocations: 0 / 423.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3521, allocations: 5.713 MB / 429 MB, free: 12.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.982, allocations: 3.438 kB / 429 MB, free: 12.72 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches