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.001209/0.001209, allocations: 121.7 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 50.54 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003156/0.2775, allocations: 1.999 MB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2794, allocations: 1.251 MB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2796, allocations: 4 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005626/0.2802, allocations: 155.4 kB / 412.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.2805, allocations: 166.6 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.2811, allocations: 207.4 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002684/0.2814, allocations: 239.3 kB / 412.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2815, allocations: 52.28 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2816, allocations: 91.62 kB / 412.9 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.2818, allocations: 99.47 kB / 413 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.2818, allocations: 12 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.282, allocations: 67.89 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.282, allocations: 47.84 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.701e-05/0.2821, allocations: 91.41 kB / 413.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2825, allocations: 268.7 kB / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2825, allocations: 0 / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2825, allocations: 0 / 413.5 MB, free: 12.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2825, allocations: 4 kB / 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.0007659/0.2833, allocations: 0.5546 MB / 414 MB, free: 12.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.2833, allocations: 8.031 kB / 414 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.2834, allocations: 46.73 kB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.2835, allocations: 24.66 kB / 414.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.2839, allocations: 282.7 kB / 414.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.2839, allocations: 20.38 kB / 414.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.2839, allocations: 11.94 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.2844, allocations: 294.5 kB / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.2845, allocations: 0 / 414.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.2845, allocations: 8 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.2845, allocations: 4 kB / 414.7 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.2847, allocations: 63.83 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004837/0.2851, allocations: 398.2 kB / 415.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.2855, allocations: 180.1 kB / 415.3 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.2856, allocations: 78.55 kB / 415.4 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.2856, allocations: 4 kB / 415.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.2858, allocations: 79.31 kB / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.2858, allocations: 0 / 415.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0004733/0.2863, allocations: 225.2 kB / 415.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.2864, allocations: 148.8 kB / 415.9 MB, free: 10.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.2867, allocations: 280.9 kB / 416.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.2867, allocations: 29.7 kB / 416.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.2868, allocations: 132.5 kB / 416.3 MB, free: 9.691 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.2868, allocations: 27.7 kB / 416.3 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.681e-05/0.2869, allocations: 45.94 kB / 416.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2871, allocations: 342.8 kB / 416.7 MB, free: 9.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.2871, allocations: 36.45 kB / 416.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001872/0.2873, allocations: 174 kB / 416.9 MB, free: 9.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.2876, allocations: 199.2 kB / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2876, allocations: 0 / 417.1 MB, free: 8.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003829/0.288, allocations: 225 kB / 417.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.288, allocations: 8 kB / 417.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.288, allocations: 4 kB / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.288, allocations: 4 kB / 417.3 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.2881, allocations: 23.92 kB / 417.4 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2882, allocations: 8.469 kB / 417.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2883, allocations: 32.08 kB / 417.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2883, allocations: 16 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.000165/0.2885, allocations: 171.9 kB / 417.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.2887, allocations: 125.3 kB / 417.7 MB, free: 8.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.2888, allocations: 25.72 kB / 417.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2888, allocations: 4 kB / 417.7 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.2888, allocations: 3.984 kB / 417.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.2888, allocations: 7.938 kB / 417.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.289, allocations: 245.5 kB / 418 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.289, allocations: 0 / 418 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.2891, allocations: 15.94 kB / 418 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2891, allocations: 3.938 kB / 418 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.2891, allocations: 4 kB / 418 MB, free: 7.773 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2891, allocations: 3.984 kB / 418 MB, free: 7.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2891, allocations: 4 kB / 418 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.2895, allocations: 233.7 kB / 418.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2896, allocations: 116.8 kB / 418.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.2896, allocations: 4 kB / 418.4 MB, free: 7.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.2897, allocations: 8 kB / 418.4 MB, free: 7.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.2898, allocations: 7.984 kB / 418.4 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.2898, allocations: 12.03 kB / 418.4 MB, free: 7.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000206/0.29, allocations: 208.3 kB / 418.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.29, allocations: 0 / 418.6 MB, free: 7.148 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.2903, allocations: 51.91 kB / 418.6 MB, free: 7.098 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.001681/0.292, allocations: 1.141 MB / 419.8 MB, free: 6.066 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003234/0.2924, allocations: 139.8 kB / 419.9 MB, free: 5.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2924, allocations: 4 kB / 419.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.046e-05/0.2925, allocations: 28.98 kB / 420 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.2929, allocations: 118.8 kB / 420.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.2955, allocations: 2.405 MB / 422.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2959, allocations: 0.7519 MB / 423.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.378e-05/0.296, allocations: 38.27 kB / 423.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.2961, allocations: 63.69 kB / 423.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2961, allocations: 0 / 423.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3193, allocations: 5.711 MB / 429 MB, free: 12.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.058, allocations: 10.88 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