Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001789/0.001789, allocations: 116.5 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.002193/0.002193, allocations: 216.9 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.526/1.526, allocations: 230.2 MB / 254.5 MB, free: 15.4 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.2765/0.2765, allocations: 46.91 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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 82.86 kB / 0.4913 GB, free: 26.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 65.99 MB / 0.5558 GB, free: 9 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003117/0.1213, allocations: 1.731 MB / 0.5575 GB, free: 7.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.123, allocations: 1.031 MB / 0.5585 GB, free: 6.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.221e-05/0.1231, allocations: 4 kB / 0.5585 GB, free: 6.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1234, allocations: 59.67 kB / 0.5585 GB, free: 6.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.1237, allocations: 107.5 kB / 0.5586 GB, free: 6.047 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.1239, allocations: 79.66 kB / 0.5587 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1241, allocations: 99.75 kB / 0.5588 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.1242, allocations: 8.281 kB / 0.5588 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.763e-05/0.1243, allocations: 43.8 kB / 0.5589 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.1243, allocations: 39.77 kB / 0.5589 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.1244, allocations: 4 kB / 0.5589 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1245, allocations: 43.98 kB / 0.5589 GB, free: 5.734 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.1245, allocations: 31.84 kB / 0.559 GB, free: 5.703 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.1246, allocations: 51.61 kB / 0.559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002316/0.1248, allocations: 135.4 kB / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1248, allocations: 0 / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1248, allocations: 0 / 0.5592 GB, free: 5.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1248, allocations: 0 / 0.5592 GB, free: 5.52 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.0006086/0.1254, allocations: 446.5 kB / 0.5596 GB, free: 5.035 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1255, allocations: 15.97 kB / 0.5596 GB, free: 5.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.1255, allocations: 30.75 kB / 0.5596 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/0.1256, allocations: 16.84 kB / 0.5596 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.1259, allocations: 229 kB / 0.5599 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.1259, allocations: 8.359 kB / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.499e-05/0.1259, allocations: 384 / 0.5599 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.126, allocations: 57.8 kB / 0.5599 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.1261, allocations: 0 / 0.5599 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1261, allocations: 4 kB / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1261, allocations: 0 / 0.5599 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.1261, allocations: 19.98 kB / 0.5599 GB, free: 4.605 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003867/0.1265, allocations: 304.8 kB / 0.5602 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.1267, allocations: 54.67 kB / 0.5603 GB, free: 4.195 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1267, allocations: 16.84 kB / 0.5603 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1268, allocations: 4 kB / 0.5603 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1269, allocations: 71.33 kB / 0.5604 GB, free: 4.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1269, allocations: 3.938 kB / 0.5604 GB, free: 4.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.1275, allocations: 189.3 kB / 0.5606 GB, free: 3.895 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1275, allocations: 55.34 kB / 0.5606 GB, free: 3.828 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.1278, allocations: 274.8 kB / 0.5609 GB, free: 3.547 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.1279, allocations: 29.7 kB / 0.5609 GB, free: 3.512 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.1279, allocations: 112.1 kB / 0.561 GB, free: 3.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.128, allocations: 23.84 kB / 0.561 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.932e-05/0.128, allocations: 21.72 kB / 0.5611 GB, free: 3.348 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1282, allocations: 334.8 kB / 0.5614 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.733e-05/0.1282, allocations: 19.98 kB / 0.5614 GB, free: 2.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/0.1283, allocations: 37.7 kB / 0.5614 GB, free: 2.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.1284, allocations: 57.64 kB / 0.5615 GB, free: 2.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1284, allocations: 4 kB / 0.5615 GB, free: 2.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1286, allocations: 113.6 kB / 0.5616 GB, free: 2.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1286, allocations: 8 kB / 0.5616 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1286, allocations: 80 / 0.5616 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1286, allocations: 0 / 0.5616 GB, free: 2.758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.1287, allocations: 19.92 kB / 0.5616 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1287, allocations: 11.92 kB / 0.5616 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.1288, allocations: 0 / 0.5616 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1288, allocations: 4 kB / 0.5616 GB, free: 2.723 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.0001198/0.1289, allocations: 141.8 kB / 0.5618 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.1289, allocations: 11.91 kB / 0.5618 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.129, allocations: 25.39 kB / 0.5618 GB, free: 2.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.129, allocations: 4 kB / 0.5618 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.129, allocations: 0 / 0.5618 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.129, allocations: 0 / 0.5618 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1295, allocations: 403.2 kB / 0.5622 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1295, allocations: 0 / 0.5622 GB, free: 2.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.1296, allocations: 20.02 kB / 0.5622 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.1296, allocations: 0 / 0.5622 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1296, allocations: 4 kB / 0.5622 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1296, allocations: 3.938 kB / 0.5622 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1296, allocations: 3.938 kB / 0.5622 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.1298, allocations: 208.3 kB / 0.5624 GB, free: 1.824 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.27e-05/0.1299, allocations: 89.02 kB / 0.5625 GB, free: 1.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.1299, allocations: 8.172 kB / 0.5625 GB, free: 1.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.13, allocations: 8.312 kB / 0.5625 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.13, allocations: 7.938 kB / 0.5625 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.13, allocations: 7.984 kB / 0.5625 GB, free: 1.688 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000189/0.1302, allocations: 200.6 kB / 0.5627 GB, free: 1.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1302, allocations: 0 / 0.5627 GB, free: 1.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1305, allocations: 20 kB / 0.5627 GB, free: 1.473 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.002097/0.1326, allocations: 1.101 MB / 0.5638 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001838/0.1327, allocations: 63.83 kB / 0.5639 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.1327, allocations: 0 / 0.5639 GB, free: 468 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.1328, allocations: 24.16 kB / 0.5639 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.1332, allocations: 34.52 kB / 0.5639 GB, free: 412 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.1353, allocations: 1.839 MB / 0.5657 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1357, allocations: 0.7157 MB / 0.5664 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.86e-05/0.1357, allocations: 12.88 kB / 0.5664 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.1358, allocations: 43.42 kB / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1358, allocations: 0 / 0.5665 GB, free: 13.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1623, allocations: 3.817 MB / 0.5702 GB, free: 9.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.17/8.333, allocations: 5.938 kB / 0.5702 GB, free: 9.91 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.532640727702528]