Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001818/0.001818, allocations: 116.9 kB / 18.49 MB, free: 4.535 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.002053/0.002053, allocations: 220.7 kB / 21.46 MB, free: 1.582 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.443/1.443, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.2359/0.2359, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 79.88 kB / 0.4917 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1335, allocations: 66.05 MB / 0.5562 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003363/0.1368, allocations: 1.728 MB / 0.5579 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1396, allocations: 1.644 MB / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.1397, allocations: 0 / 0.5595 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003295/0.14, allocations: 35.77 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.1404, allocations: 111.5 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1407, allocations: 75.67 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1409, allocations: 119.7 kB / 0.5599 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.141, allocations: 8 kB / 0.5599 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1411, allocations: 51.78 kB / 0.5599 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1413, allocations: 47.77 kB / 0.56 GB, free: 1.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1413, allocations: 4 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.1416, allocations: 107.9 kB / 0.5601 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.914e-05/0.1416, allocations: 27.86 kB / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1417, allocations: 43.72 kB / 0.5601 GB, free: 1.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.1421, allocations: 175.4 kB / 0.5603 GB, free: 1.219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.1421, allocations: 11.92 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1421, allocations: 0 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1421, allocations: 0 / 0.5603 GB, free: 1.207 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007041/0.1428, allocations: 430.5 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1428, allocations: 12.03 kB / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.029e-05/0.1428, allocations: 192 / 0.5607 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.172e-05/0.1429, allocations: 42.69 kB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.473e-05/0.143, allocations: 16.88 kB / 0.5608 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1433, allocations: 220.1 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1434, allocations: 384 / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1434, allocations: 12.31 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.1436, allocations: 75.31 kB / 0.5611 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1436, allocations: 7.938 kB / 0.5611 GB, free: 308 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1436, allocations: 4 kB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1436, allocations: 0 / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1437, allocations: 39.91 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004832/0.1442, allocations: 292.8 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1444, allocations: 66.67 kB / 0.5615 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.1445, allocations: 20.86 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.1445, allocations: 7.984 kB / 0.5615 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.1447, allocations: 75.41 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.1447, allocations: 0 / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006246/0.1453, allocations: 201.7 kB / 0.5618 GB, free: 15.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.1454, allocations: 77.11 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1456, allocations: 170.2 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1456, allocations: 25.7 kB / 0.562 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.1457, allocations: 104.1 kB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.1457, allocations: 27.8 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.1458, allocations: 25.72 kB / 0.5622 GB, free: 15.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.1459, allocations: 322.8 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/0.146, allocations: 27.98 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.588e-05/0.1461, allocations: 50.5 kB / 0.5626 GB, free: 14.65 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1462, allocations: 69.73 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1462, allocations: 0 / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.1465, allocations: 121.5 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.1465, allocations: 4 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1465, allocations: 8.016 kB / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1465, allocations: 0 / 0.5628 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.1466, allocations: 19.92 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.1466, allocations: 7.984 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.367e-05/0.1467, allocations: 3.938 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1467, allocations: 15.97 kB / 0.5628 GB, free: 14.39 MB / 430.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 (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.0001235/0.1468, allocations: 121.8 kB / 0.5629 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.1468, allocations: 7.953 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.1469, allocations: 12.72 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1469, allocations: 4 kB / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1469, allocations: 0 / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1469, allocations: 0 / 0.5629 GB, free: 14.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.1474, allocations: 431.2 kB / 0.5634 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1474, allocations: 0 / 0.5634 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.1475, allocations: 8 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1475, allocations: 4 kB / 0.5634 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1475, allocations: 11.94 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1475, allocations: 3.938 kB / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1475, allocations: 0 / 0.5634 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002853/0.1478, allocations: 216.3 kB / 0.5636 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.1478, allocations: 85.06 kB / 0.5637 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1479, allocations: 11.94 kB / 0.5637 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.62e-05/0.148, allocations: 0 / 0.5637 GB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.148, allocations: 7.984 kB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.148, allocations: 4 kB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.1482, allocations: 140.7 kB / 0.5638 GB, free: 13.24 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1482, allocations: 0 / 0.5638 GB, free: 13.24 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1485, allocations: 47.86 kB / 0.5639 GB, free: 13.19 MB / 430.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 (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.002584/0.151, allocations: 1.195 MB / 0.565 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1513, allocations: 63.91 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1513, allocations: 0 / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.1514, allocations: 35.92 kB / 0.5651 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.1518, allocations: 35.2 kB / 0.5652 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.1541, allocations: 1.664 MB / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.1545, allocations: 0.7006 MB / 0.5675 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.14e-05/0.1546, allocations: 28.55 kB / 0.5675 GB, free: 9.516 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.1547, allocations: 43.42 kB / 0.5675 GB, free: 9.473 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1547, allocations: 0 / 0.5675 GB, free: 9.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.1782, allocations: 4.225 MB / 0.5717 GB, free: 5.266 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.067/8.245, allocations: 18.2 kB / 0.5717 GB, free: 5.254 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.38212325895438]