Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001505/0.001505, allocations: 121.3 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.001368/0.001368, 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.41 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.229/0.229, allocations: 46.9 MB / 357.4 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 82.64 kB / 0.4913 GB, free: 26.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1241, allocations: 65.99 MB / 0.5558 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.004029/0.1281, allocations: 1.735 MB / 0.5575 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.13, allocations: 1.034 MB / 0.5585 GB, free: 6.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1301, allocations: 3.938 kB / 0.5585 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.1305, allocations: 47.77 kB / 0.5585 GB, free: 6.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004353/0.131, allocations: 95.59 kB / 0.5586 GB, free: 6.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1313, allocations: 79.67 kB / 0.5587 GB, free: 6 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002183/0.1315, allocations: 99.73 kB / 0.5588 GB, free: 5.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1316, allocations: 16.22 kB / 0.5588 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1317, allocations: 39.84 kB / 0.5588 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.1318, allocations: 35.78 kB / 0.5589 GB, free: 5.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.1318, allocations: 4 kB / 0.5589 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1319, allocations: 47.92 kB / 0.5589 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.132, allocations: 19.92 kB / 0.5589 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.727e-05/0.132, allocations: 47.72 kB / 0.559 GB, free: 5.695 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1323, allocations: 119.4 kB / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1323, allocations: 0 / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1323, allocations: 0 / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1323, allocations: 0 / 0.5591 GB, free: 5.578 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000654/0.1329, allocations: 429.4 kB / 0.5595 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.133, allocations: 8.031 kB / 0.5595 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.133, allocations: 42.69 kB / 0.5596 GB, free: 5.055 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.1331, allocations: 8.891 kB / 0.5596 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1334, allocations: 220.1 kB / 0.5598 GB, free: 4.793 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1334, allocations: 4.312 kB / 0.5598 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1335, allocations: 8.375 kB / 0.5598 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.1336, allocations: 53.8 kB / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1336, allocations: 0 / 0.5598 GB, free: 4.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.1337, allocations: 4 kB / 0.5598 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1337, allocations: 7.984 kB / 0.5599 GB, free: 4.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.1337, allocations: 15.94 kB / 0.5599 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.1342, allocations: 300.8 kB / 0.5602 GB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1344, allocations: 50.69 kB / 0.5602 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.1344, allocations: 20.84 kB / 0.5602 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.1345, allocations: 4 kB / 0.5602 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.1346, allocations: 67.33 kB / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1346, allocations: 0 / 0.5603 GB, free: 4.188 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006308/0.1353, allocations: 177.3 kB / 0.5605 GB, free: 4.008 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.1353, allocations: 55.41 kB / 0.5605 GB, free: 3.941 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.1356, allocations: 206.1 kB / 0.5607 GB, free: 3.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1356, allocations: 33.69 kB / 0.5607 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.1357, allocations: 100.1 kB / 0.5608 GB, free: 3.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1357, allocations: 27.78 kB / 0.5609 GB, free: 3.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.1357, allocations: 21.72 kB / 0.5609 GB, free: 3.535 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1359, allocations: 330.8 kB / 0.5612 GB, free: 3.203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.136, allocations: 20.36 kB / 0.5612 GB, free: 3.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-05/0.136, allocations: 41.7 kB / 0.5613 GB, free: 3.137 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1362, allocations: 61.62 kB / 0.5613 GB, free: 3.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.1362, allocations: 4 kB / 0.5613 GB, free: 3.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002022/0.1364, allocations: 105.6 kB / 0.5614 GB, free: 2.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1364, allocations: 4 kB / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.1364, allocations: 0 / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1364, allocations: 0 / 0.5614 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1365, allocations: 23.92 kB / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1365, allocations: 0 / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.1366, allocations: 0 / 0.5615 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1366, allocations: 4 kB / 0.5615 GB, free: 2.926 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001464/0.1367, allocations: 143.8 kB / 0.5616 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.1368, allocations: 11.91 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.1368, allocations: 21.58 kB / 0.5616 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1368, allocations: 3.938 kB / 0.5616 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1368, allocations: 3.938 kB / 0.5616 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1368, allocations: 0 / 0.5616 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004809/0.1373, allocations: 395.3 kB / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1373, allocations: 0 / 0.562 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.1373, allocations: 12.02 kB / 0.562 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1373, allocations: 4 kB / 0.562 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1374, allocations: 11.94 kB / 0.562 GB, free: 2.258 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1374, allocations: 3.938 kB / 0.562 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1374, allocations: 0 / 0.562 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1376, allocations: 196.5 kB / 0.5622 GB, free: 2.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.1377, allocations: 85.06 kB / 0.5623 GB, free: 1.941 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1377, allocations: 15.98 kB / 0.5623 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.924e-05/0.1378, allocations: 3.938 kB / 0.5623 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1378, allocations: 4 kB / 0.5623 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1378, allocations: 7.984 kB / 0.5623 GB, free: 1.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1379, allocations: 160.8 kB / 0.5625 GB, free: 1.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1379, allocations: 0 / 0.5625 GB, free: 1.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002606/0.1382, allocations: 27.94 kB / 0.5625 GB, free: 1.727 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.002155/0.1404, allocations: 1.097 MB / 0.5636 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1406, allocations: 59.86 kB / 0.5636 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1406, allocations: 0 / 0.5636 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.789e-05/0.1406, allocations: 31.92 kB / 0.5637 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.141, allocations: 22.64 kB / 0.5637 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.143, allocations: 1.697 MB / 0.5654 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.1433, allocations: 0.708 MB / 0.566 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.629e-05/0.1434, allocations: 20.78 kB / 0.5661 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.398e-05/0.1435, allocations: 39.42 kB / 0.5661 GB, free: 14.08 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1435, allocations: 0 / 0.5661 GB, free: 14.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1676, allocations: 3.534 MB / 0.5696 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.107/8.275, allocations: 10.41 kB / 0.5696 GB, free: 10.59 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.387272208929062]