Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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.002006/0.002006, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002391/0.002391, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.528/1.528, 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 68.08 kB / 373.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1169, allocations: 53.32 MB / 426.7 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003635/0.1206, allocations: 1.91 MB / 428.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1226, allocations: 1.227 MB / 429.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.1228, allocations: 7.938 kB / 429.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006312/0.1234, allocations: 158.3 kB / 430 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003908/0.1238, allocations: 151.4 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.1243, allocations: 167.5 kB / 430.3 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.1246, allocations: 187.5 kB / 430.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1247, allocations: 21.55 kB / 430.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.1248, allocations: 83.56 kB / 430.6 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1249, allocations: 79.67 kB / 430.6 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.125, allocations: 8 kB / 430.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1251, allocations: 51.97 kB / 430.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.1252, allocations: 43.78 kB / 430.7 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1253, allocations: 83.47 kB / 430.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.1257, allocations: 211.1 kB / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1257, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1257, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1257, allocations: 0 / 431 MB, free: 0.6406 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008581/0.1265, allocations: 0.5232 MB / 431.5 MB, free: 64 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1266, allocations: 8.031 kB / 431.6 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.538e-05/0.1266, allocations: 38.75 kB / 431.6 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001662/0.1268, allocations: 20.03 kB / 431.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.1272, allocations: 271 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1273, allocations: 4.375 kB / 431.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.1273, allocations: 12.36 kB / 431.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.1276, allocations: 151.4 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1276, allocations: 0 / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1276, allocations: 3.938 kB / 432 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1276, allocations: 4 kB / 432 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1277, allocations: 31.98 kB / 432.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.1283, allocations: 366.4 kB / 432.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.1285, allocations: 107.8 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.1286, allocations: 42.56 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.1286, allocations: 4 kB / 432.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001549/0.1288, allocations: 75.39 kB / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1288, allocations: 0 / 432.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003606/0.1291, allocations: 145.5 kB / 432.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.1292, allocations: 136.8 kB / 432.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1295, allocations: 280.9 kB / 433.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1296, allocations: 29.64 kB / 433.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.973e-05/0.1296, allocations: 120.1 kB / 433.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1297, allocations: 15.91 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.1297, allocations: 33.7 kB / 433.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1299, allocations: 326.8 kB / 433.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.311e-05/0.13, allocations: 23.98 kB / 433.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.1301, allocations: 70 kB / 433.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1302, allocations: 80.19 kB / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1302, allocations: 0 / 433.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002123/0.1304, allocations: 117.5 kB / 434 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.1304, allocations: 4 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1304, allocations: 4 kB / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1304, allocations: 0 / 434 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.912e-05/0.1305, allocations: 15.98 kB / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1305, allocations: 0 / 434 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.63e-05/0.1306, allocations: 16.02 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1306, allocations: 8 kB / 434.1 MB, free: 13.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001408/0.1307, allocations: 149.7 kB / 434.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.1308, allocations: 65.53 kB / 434.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.701e-05/0.1309, allocations: 17.72 kB / 434.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1309, allocations: 3.984 kB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1309, allocations: 4 kB / 434.3 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1309, allocations: 4.062 kB / 434.3 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.1311, allocations: 229.5 kB / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1311, allocations: 0 / 434.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.1312, allocations: 12.3 kB / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1312, allocations: 0 / 434.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.1312, allocations: 7.984 kB / 434.5 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1312, allocations: 7.938 kB / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1312, allocations: 0 / 434.5 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1314, allocations: 158.6 kB / 434.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1316, allocations: 112.9 kB / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1316, allocations: 4 kB / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.784e-05/0.1316, allocations: 4 kB / 434.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1317, allocations: 7.984 kB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.1317, allocations: 4 kB / 434.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.1319, allocations: 200.5 kB / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1319, allocations: 0 / 435 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1322, allocations: 32 kB / 435.1 MB, free: 12.15 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001959/0.1341, allocations: 1.005 MB / 436.1 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1343, allocations: 63.91 kB / 436.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1343, allocations: 0 / 436.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.1344, allocations: 23.98 kB / 436.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.1348, allocations: 71.72 kB / 436.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1372, allocations: 1.951 MB / 438.2 MB, free: 9.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1376, allocations: 0.7357 MB / 438.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.924e-05/0.1377, allocations: 17.55 kB / 438.9 MB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.1378, allocations: 47.42 kB / 439 MB, free: 8.211 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1378, allocations: 4 kB / 439 MB, free: 8.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.1682, allocations: 4.704 MB / 443.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.158, allocations: 18.83 kB / 443.7 MB, free: 3.582 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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: 10.992139601148665]