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.001321/0.001321, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 201.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.88 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2434, allocations: 50.55 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003349/0.2468, allocations: 2.003 MB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2489, allocations: 1.255 MB / 412.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.2491, allocations: 4 kB / 412.1 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.2498, allocations: 155.4 kB / 412.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000449/0.2502, allocations: 155.4 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.2509, allocations: 215.3 kB / 412.6 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2512, allocations: 231.4 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2514, allocations: 44.28 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2515, allocations: 99.61 kB / 413 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2517, allocations: 91.55 kB / 413.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.2517, allocations: 16 kB / 413.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.2519, allocations: 63.89 kB / 413.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.712e-05/0.252, allocations: 55.83 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2521, allocations: 91.41 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.2525, allocations: 262 kB / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2525, allocations: 0 / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2525, allocations: 0 / 413.5 MB, free: 12.77 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.381e-06/0.2525, allocations: 0 / 413.5 MB, free: 12.77 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.0008069/0.2533, allocations: 0.5699 MB / 414.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2534, allocations: 8.031 kB / 414.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.2535, allocations: 50.73 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.2535, allocations: 24.8 kB / 414.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.2539, allocations: 286.9 kB / 414.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2539, allocations: 12.38 kB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.254, allocations: 19.94 kB / 414.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.2545, allocations: 301.5 kB / 414.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2545, allocations: 7.922 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.2546, allocations: 4 kB / 414.8 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2546, allocations: 4 kB / 414.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.2547, allocations: 63.91 kB / 414.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005291/0.2553, allocations: 398.3 kB / 415.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.2556, allocations: 168 kB / 415.4 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.2558, allocations: 94.53 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.2558, allocations: 0 / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.256, allocations: 79.33 kB / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.256, allocations: 0 / 415.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005068/0.2565, allocations: 225.3 kB / 415.8 MB, free: 10.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.2566, allocations: 152.5 kB / 416 MB, free: 10.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.257, allocations: 284.9 kB / 416.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.257, allocations: 25.7 kB / 416.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.983e-05/0.2571, allocations: 124.6 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.2571, allocations: 27.84 kB / 416.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.2572, allocations: 53.92 kB / 416.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2574, allocations: 330.8 kB / 416.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.727e-05/0.2575, allocations: 44.44 kB / 416.8 MB, free: 9.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.2577, allocations: 170 kB / 417 MB, free: 8.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.2579, allocations: 203.2 kB / 417.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.258, allocations: 0 / 417.2 MB, free: 8.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000362/0.2583, allocations: 221.2 kB / 417.4 MB, free: 8.457 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2583, allocations: 8 kB / 417.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.2584, allocations: 4 kB / 417.4 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.2584, allocations: 8 kB / 417.4 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.607e-05/0.2585, allocations: 24.23 kB / 417.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.2585, allocations: 12.31 kB / 417.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2586, allocations: 28.27 kB / 417.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2586, allocations: 12 kB / 417.5 MB, free: 8.363 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.0001515/0.2588, allocations: 164 kB / 417.7 MB, free: 8.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.259, allocations: 133.4 kB / 417.8 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.215e-05/0.2591, allocations: 29.7 kB / 417.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2591, allocations: 0 / 417.8 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2591, allocations: 4 kB / 417.8 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2591, allocations: 3.938 kB / 417.8 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.2593, allocations: 249.5 kB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2594, allocations: 4 kB / 418.1 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.2594, allocations: 11.92 kB / 418.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.2594, allocations: 4 kB / 418.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2594, allocations: 7.938 kB / 418.1 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2594, allocations: 4 kB / 418.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2594, allocations: 0 / 418.1 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.2598, allocations: 234 kB / 418.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2599, allocations: 120.9 kB / 418.5 MB, free: 7.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.26, allocations: 8 kB / 418.5 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.945e-05/0.2601, allocations: 7.984 kB / 418.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.2601, allocations: 8 kB / 418.5 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.2601, allocations: 4 kB / 418.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.2603, allocations: 216.3 kB / 418.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2603, allocations: 0 / 418.7 MB, free: 7.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003071/0.2607, allocations: 43.94 kB / 418.7 MB, free: 7.027 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.002176/0.2628, allocations: 1.137 MB / 419.9 MB, free: 6 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003382/0.2632, allocations: 147.7 kB / 420 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2632, allocations: 0 / 420 MB, free: 5.855 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.752e-05/0.2633, allocations: 27.94 kB / 420 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.2638, allocations: 119.6 kB / 420.2 MB, free: 5.715 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.2666, allocations: 2.413 MB / 422.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.267, allocations: 0.7598 MB / 423.3 MB, free: 2.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.57e-05/0.2671, allocations: 30.27 kB / 423.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.2672, allocations: 63.42 kB / 423.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2672, allocations: 4 kB / 423.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.2948, allocations: 5.616 MB / 429 MB, free: 12.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.152/8.447, allocations: 3.094 kB / 429 MB, free: 12.74 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.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) Reference file matches