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.00181/0.00181, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001994/0.001994, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.452/1.452, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.00181/0.00181, allocations: 59.91 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1151, allocations: 53.32 MB / 426.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.00408/0.1192, allocations: 2.008 MB / 428.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1217, allocations: 1.27 MB / 429.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.1219, allocations: 7.938 kB / 429.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006922/0.1226, allocations: 151.5 kB / 430.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.123, allocations: 163.3 kB / 430.3 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006677/0.1237, allocations: 209.6 kB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.124, allocations: 227.4 kB / 430.7 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1241, allocations: 32.3 kB / 430.7 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.1243, allocations: 103.5 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.1244, allocations: 95.53 kB / 430.9 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.1245, allocations: 15.94 kB / 430.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.1246, allocations: 67.95 kB / 431 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.1247, allocations: 55.77 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1249, allocations: 91.41 kB / 431.1 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.1253, allocations: 258.9 kB / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1253, allocations: 0 / 431.4 MB, free: 288 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1253, allocations: 3.938 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1253, allocations: 0 / 431.4 MB, free: 284 kB / 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.001106/0.1264, allocations: 0.5648 MB / 432 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.1265, allocations: 8.031 kB / 432 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.367e-05/0.1266, allocations: 46.73 kB / 432 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.1266, allocations: 28.75 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.1271, allocations: 290.9 kB / 432.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1271, allocations: 12.36 kB / 432.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1272, allocations: 16.38 kB / 432.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.1278, allocations: 310.6 kB / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1278, allocations: 0 / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.1278, allocations: 3.984 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1278, allocations: 4 kB / 432.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.128, allocations: 63.91 kB / 432.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006612/0.1287, allocations: 390.3 kB / 433.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/0.1291, allocations: 167.9 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1292, allocations: 78.55 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1293, allocations: 4 kB / 433.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1294, allocations: 75.33 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.1295, allocations: 0 / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005507/0.13, allocations: 225.7 kB / 433.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/0.1301, allocations: 144.8 kB / 433.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.1305, allocations: 284.9 kB / 434.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1305, allocations: 29.7 kB / 434.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1306, allocations: 120.6 kB / 434.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.1306, allocations: 39.72 kB / 434.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.1307, allocations: 53.92 kB / 434.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1309, allocations: 330.8 kB / 434.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.131, allocations: 44.44 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.1312, allocations: 174 kB / 434.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.1315, allocations: 203.5 kB / 435 MB, free: 12.21 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1315, allocations: 7.938 kB / 435 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003646/0.1318, allocations: 221.3 kB / 435.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1319, allocations: 8 kB / 435.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1319, allocations: 4.078 kB / 435.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.1319, allocations: 4 kB / 435.3 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.132, allocations: 27.92 kB / 435.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.132, allocations: 11.98 kB / 435.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1321, allocations: 15.95 kB / 435.3 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.1321, allocations: 8.375 kB / 435.3 MB, free: 11.9 MB / 366.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.0001712/0.1323, allocations: 171.9 kB / 435.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.1325, allocations: 129.4 kB / 435.6 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.1326, allocations: 33.7 kB / 435.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1326, allocations: 3.938 kB / 435.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1326, allocations: 4 kB / 435.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.1326, allocations: 0 / 435.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000275/0.1329, allocations: 253.4 kB / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1329, allocations: 4 kB / 435.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.1329, allocations: 7.984 kB / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1329, allocations: 4 kB / 435.9 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1329, allocations: 4 kB / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1329, allocations: 7.938 kB / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1329, allocations: 0 / 435.9 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1333, allocations: 241.2 kB / 436.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1334, allocations: 116.9 kB / 436.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.1335, allocations: 4 kB / 436.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.668e-05/0.1336, allocations: 16.05 kB / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1336, allocations: 0 / 436.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1336, allocations: 12 kB / 436.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002422/0.1339, allocations: 208.5 kB / 436.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1339, allocations: 3.938 kB / 436.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.1342, allocations: 43.94 kB / 436.6 MB, free: 10.55 MB / 366.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.002298/0.1365, allocations: 1.139 MB / 437.7 MB, free: 9.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003581/0.1368, allocations: 139.7 kB / 437.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1368, allocations: 0 / 437.8 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.671e-05/0.1369, allocations: 20.12 kB / 437.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.1374, allocations: 113.1 kB / 438 MB, free: 9.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.1405, allocations: 2.427 MB / 440.4 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004385/0.1409, allocations: 0.7558 MB / 441.2 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.141, allocations: 30.5 kB / 441.2 MB, free: 5.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1411, allocations: 63.42 kB / 441.3 MB, free: 5.781 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1411, allocations: 4.281 kB / 441.3 MB, free: 5.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03056/0.1717, allocations: 5.671 MB / 446.9 MB, free: 192 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.308, allocations: 0 / 446.9 MB, free: 192 kB / 366.1 MB " [Timeout remaining time 651] (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 --stepSize=1.78926e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.12563701113686]