Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.001337/0.001337, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001497/0.001497, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.482/1.482, 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.2276/0.2276, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 83.73 kB / 0.4913 GB, free: 26.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1181, allocations: 65.97 MB / 0.5558 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.00348/0.1216, allocations: 1.74 MB / 0.5575 GB, free: 7.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1234, allocations: 1.03 MB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.1235, allocations: 7.938 kB / 0.5585 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1238, allocations: 47.7 kB / 0.5585 GB, free: 6.156 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1241, allocations: 99.59 kB / 0.5586 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001991/0.1243, allocations: 75.67 kB / 0.5587 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1245, allocations: 99.73 kB / 0.5588 GB, free: 5.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1246, allocations: 12.28 kB / 0.5588 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.1247, allocations: 47.78 kB / 0.5589 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.1248, allocations: 27.8 kB / 0.5589 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1248, allocations: 7.984 kB / 0.5589 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1249, allocations: 47.92 kB / 0.5589 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1249, allocations: 23.92 kB / 0.559 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.291e-05/0.125, allocations: 31.75 kB / 0.559 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1252, allocations: 127.4 kB / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1252, allocations: 0 / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1252, allocations: 0 / 0.5591 GB, free: 5.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1252, allocations: 0 / 0.5591 GB, free: 5.566 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.0005927/0.1258, allocations: 433.5 kB / 0.5595 GB, free: 5.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1258, allocations: 8.031 kB / 0.5595 GB, free: 5.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.853e-05/0.1259, allocations: 42.69 kB / 0.5596 GB, free: 5.039 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.369e-05/0.1259, allocations: 12.83 kB / 0.5596 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.1263, allocations: 208.1 kB / 0.5598 GB, free: 4.785 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1263, allocations: 12.38 kB / 0.5598 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.1263, allocations: 384 / 0.5598 GB, free: 4.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1264, allocations: 61.73 kB / 0.5598 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1265, allocations: 0 / 0.5598 GB, free: 4.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1265, allocations: 4 kB / 0.5599 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1265, allocations: 0 / 0.5599 GB, free: 4.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.1265, allocations: 19.92 kB / 0.5599 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1269, allocations: 296.8 kB / 0.5602 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1271, allocations: 54.62 kB / 0.5602 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.1272, allocations: 20.91 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1272, allocations: 7.984 kB / 0.5602 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.1273, allocations: 67.33 kB / 0.5603 GB, free: 4.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1273, allocations: 4 kB / 0.5603 GB, free: 4.168 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005482/0.1279, allocations: 181.3 kB / 0.5605 GB, free: 3.984 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.1279, allocations: 51.41 kB / 0.5605 GB, free: 3.922 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1281, allocations: 206.1 kB / 0.5607 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1282, allocations: 33.7 kB / 0.5608 GB, free: 3.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.1282, allocations: 100.1 kB / 0.5608 GB, free: 3.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1283, allocations: 27.78 kB / 0.5609 GB, free: 3.543 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.1283, allocations: 25.72 kB / 0.5609 GB, free: 3.512 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1285, allocations: 330.8 kB / 0.5612 GB, free: 3.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.1285, allocations: 19.98 kB / 0.5612 GB, free: 3.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.1286, allocations: 37.7 kB / 0.5613 GB, free: 3.117 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1287, allocations: 57.64 kB / 0.5613 GB, free: 3.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1287, allocations: 0 / 0.5613 GB, free: 3.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.1289, allocations: 109.6 kB / 0.5614 GB, free: 2.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.129, allocations: 4 kB / 0.5614 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.129, allocations: 0 / 0.5614 GB, free: 2.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.129, allocations: 4 kB / 0.5614 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.591e-05/0.1291, allocations: 19.92 kB / 0.5615 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1291, allocations: 160 / 0.5615 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.1291, allocations: 4 kB / 0.5615 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1291, allocations: 3.984 kB / 0.5615 GB, free: 2.906 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.0001122/0.1292, allocations: 133.8 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.1293, allocations: 16.12 kB / 0.5616 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1293, allocations: 17.41 kB / 0.5616 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1293, allocations: 7.922 kB / 0.5616 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1293, allocations: 0 / 0.5616 GB, free: 2.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1293, allocations: 3.938 kB / 0.5616 GB, free: 2.715 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.1298, allocations: 399.3 kB / 0.562 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1298, allocations: 0 / 0.562 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.1299, allocations: 15.92 kB / 0.562 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1299, allocations: 8.031 kB / 0.562 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1299, allocations: 0 / 0.562 GB, free: 2.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1299, allocations: 3.938 kB / 0.562 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1299, allocations: 0 / 0.562 GB, free: 2.238 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.1301, allocations: 208.3 kB / 0.5622 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.374e-05/0.1302, allocations: 81.06 kB / 0.5623 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1302, allocations: 4 kB / 0.5623 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.333e-05/0.1303, allocations: 12.3 kB / 0.5623 GB, free: 1.902 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.1303, allocations: 4 kB / 0.5623 GB, free: 1.898 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1303, allocations: 8 kB / 0.5623 GB, free: 1.891 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.1305, allocations: 164.8 kB / 0.5625 GB, free: 1.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1305, allocations: 0 / 0.5625 GB, free: 1.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.1308, allocations: 23.94 kB / 0.5625 GB, free: 1.707 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.002202/0.133, allocations: 1.084 MB / 0.5636 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1331, allocations: 67.83 kB / 0.5636 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.1331, allocations: 4 kB / 0.5637 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1332, allocations: 27.92 kB / 0.5637 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1336, allocations: 28.28 kB / 0.5637 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1356, allocations: 1.694 MB / 0.5654 GB, free: 14.86 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.1361, allocations: 0.708 MB / 0.5661 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.1361, allocations: 12.5 kB / 0.5661 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.745e-05/0.1362, allocations: 43.41 kB / 0.5661 GB, free: 14.07 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1362, allocations: 0 / 0.5661 GB, free: 14.07 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1629, allocations: 3.529 MB / 0.5696 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.304, allocations: 14.7 kB / 0.5696 GB, free: 10.59 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.363259854726493]