Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 93.53 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 174.6 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.646/1.646, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003429/0.0003431, allocations: 8.688 kB / 301.5 MB, free: 6.027 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 50.41 MB / 351.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003308/0.1235, allocations: 1.687 MB / 353.6 MB, free: 1.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002368/0.1259, allocations: 1.056 MB / 354.7 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.1262, allocations: 4 kB / 354.7 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008053/0.127, allocations: 147.6 kB / 354.8 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.1275, allocations: 103.6 kB / 354.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009211/0.1285, allocations: 224.3 kB / 355.2 MB, free: 388 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004069/0.1289, allocations: 219.4 kB / 355.4 MB, free: 168 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1291, allocations: 36.3 kB / 355.4 MB, free: 132 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.1293, allocations: 79.62 kB / 355.5 MB, free: 52 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1295, allocations: 83.69 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.1295, allocations: 4 kB / 355.6 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.1298, allocations: 51.84 kB / 355.6 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1299, allocations: 43.83 kB / 355.7 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.13, allocations: 105.1 kB / 355.8 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.1305, allocations: 239.3 kB / 356 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1305, allocations: 0 / 356 MB, free: 15.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1305, allocations: 0 / 356 MB, free: 15.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1305, allocations: 0 / 356 MB, free: 15.53 MB / 302.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.001116/0.1316, allocations: 0.5041 MB / 356.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.1317, allocations: 8.031 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/0.1318, allocations: 46.73 kB / 356.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.1319, allocations: 24.66 kB / 356.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1323, allocations: 278.8 kB / 356.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.1324, allocations: 16.31 kB / 356.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.1324, allocations: 19.92 kB / 356.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.1331, allocations: 302.3 kB / 357.2 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1331, allocations: 4 kB / 357.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1332, allocations: 4 kB / 357.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1332, allocations: 4 kB / 357.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1334, allocations: 63.89 kB / 357.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007298/0.1341, allocations: 394.2 kB / 357.6 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003861/0.1345, allocations: 168 kB / 357.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.1347, allocations: 86.55 kB / 357.9 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.1347, allocations: 8 kB / 357.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002106/0.135, allocations: 83.38 kB / 358 MB, free: 13.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.135, allocations: 0 / 358 MB, free: 13.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006291/0.1356, allocations: 217.5 kB / 358.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.1358, allocations: 144.5 kB / 358.3 MB, free: 12.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.1361, allocations: 276.8 kB / 358.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.1362, allocations: 33.7 kB / 358.6 MB, free: 12.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.1363, allocations: 116.7 kB / 358.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.837e-05/0.1363, allocations: 31.62 kB / 358.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.1364, allocations: 37.7 kB / 358.8 MB, free: 12.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.1366, allocations: 330.8 kB / 359.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.1367, allocations: 40.44 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.1369, allocations: 175 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.1372, allocations: 199.2 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.1372, allocations: 4 kB / 359.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004155/0.1376, allocations: 225.4 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1377, allocations: 8 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1377, allocations: 4.453 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.1377, allocations: 4 kB / 359.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.1378, allocations: 23.92 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1379, allocations: 7.984 kB / 359.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.138, allocations: 23.78 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.138, allocations: 16 kB / 359.9 MB, free: 11.25 MB / 302.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.0001942/0.1382, allocations: 164.6 kB / 360 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/0.1384, allocations: 129.3 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.383e-05/0.1385, allocations: 37.62 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.1385, allocations: 4 kB / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.1385, allocations: 0 / 360.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1386, allocations: 3.938 kB / 360.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.1388, allocations: 245.8 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1388, allocations: 4 kB / 360.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.969e-05/0.1389, allocations: 8 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1389, allocations: 4 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.1389, allocations: 8 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.1389, allocations: 3.984 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.1389, allocations: 3.938 kB / 360.5 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1393, allocations: 222.4 kB / 360.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1394, allocations: 116.8 kB / 360.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.1395, allocations: 12 kB / 360.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.1395, allocations: 8 kB / 360.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.345e-05/0.1396, allocations: 7.984 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.1396, allocations: 8 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.1399, allocations: 200.4 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1399, allocations: 0 / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1403, allocations: 44 kB / 361.1 MB, free: 9.93 MB / 302.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.002014/0.1423, allocations: 1.167 MB / 362.2 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.1426, allocations: 144 kB / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1426, allocations: 0 / 362.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.1427, allocations: 23.98 kB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005348/0.1433, allocations: 115.2 kB / 362.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1454, allocations: 1.285 MB / 363.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.1458, allocations: 0.7563 MB / 364.5 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1459, allocations: 30.17 kB / 364.6 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.146, allocations: 63.41 kB / 364.6 MB, free: 6.336 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.146, allocations: 3.938 kB / 364.6 MB, free: 6.332 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/0.1622, allocations: 4.88 MB / 369.5 MB, free: 1.625 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/0.1624, allocations: 254 kB / 369.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.135/2.298, allocations: 4 kB / 369.8 MB, free: 1.367 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_UpSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches