Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001303/0.001303, allocations: 120.4 kB / 18.5 MB, free: 4.555 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.001425/0.001425, allocations: 212.9 kB / 21.46 MB, free: 1.602 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.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.2564/0.2564, allocations: 46.9 MB / 357.4 MB, free: 10.56 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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 80.14 kB / 0.4913 GB, free: 8.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 65.98 MB / 0.5558 GB, free: 6.312 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003103/0.1282, allocations: 1.779 MB / 0.5575 GB, free: 4.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.13, allocations: 1.032 MB / 0.5585 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.13, allocations: 3.938 kB / 0.5585 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1303, allocations: 79.7 kB / 0.5586 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1307, allocations: 127.5 kB / 0.5587 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1309, allocations: 87.66 kB / 0.5588 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.1311, allocations: 119.7 kB / 0.5589 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1312, allocations: 11.97 kB / 0.5589 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1314, allocations: 59.77 kB / 0.559 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.1316, allocations: 75.67 kB / 0.5591 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.1316, allocations: 4 kB / 0.5591 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1317, allocations: 59.97 kB / 0.5591 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.53e-05/0.1318, allocations: 23.92 kB / 0.5591 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.1318, allocations: 47.67 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.1321, allocations: 139.4 kB / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1321, allocations: 0 / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1321, allocations: 0 / 0.5593 GB, free: 2.652 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.1321, allocations: 0 / 0.5593 GB, free: 2.652 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006624/0.1327, allocations: 450.4 kB / 0.5598 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.1328, allocations: 8.031 kB / 0.5598 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.1328, allocations: 38.73 kB / 0.5598 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.1329, allocations: 16.78 kB / 0.5598 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.1332, allocations: 228.9 kB / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1332, allocations: 384 / 0.56 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.1332, allocations: 4.375 kB / 0.56 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1334, allocations: 65.73 kB / 0.5601 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1334, allocations: 0 / 0.5601 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.1334, allocations: 4 kB / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1334, allocations: 0 / 0.5601 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.289e-05/0.1335, allocations: 23.97 kB / 0.5601 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1339, allocations: 308.7 kB / 0.5604 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.1342, allocations: 66.48 kB / 0.5605 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.1342, allocations: 16.98 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1342, allocations: 0 / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.1344, allocations: 75.44 kB / 0.5606 GB, free: 1.195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1344, allocations: 4 kB / 0.5606 GB, free: 1.191 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000744/0.1351, allocations: 237.7 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1352, allocations: 55.41 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.1354, allocations: 238 kB / 0.5611 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1355, allocations: 29.7 kB / 0.5611 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.1356, allocations: 112.1 kB / 0.5612 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.1357, allocations: 31.73 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.1358, allocations: 41.64 kB / 0.5613 GB, free: 428 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1359, allocations: 326.8 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.889e-05/0.136, allocations: 27.92 kB / 0.5616 GB, free: 64 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.1361, allocations: 45.7 kB / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1363, allocations: 77.78 kB / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1363, allocations: 0 / 0.5617 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002542/0.1365, allocations: 133.5 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1365, allocations: 4 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1365, allocations: 0 / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1365, allocations: 4 kB / 0.5619 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.1367, allocations: 19.98 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1367, allocations: 4.172 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1368, allocations: 15.81 kB / 0.5619 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1368, allocations: 8 kB / 0.5619 GB, free: 15.73 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 (13): * Single equations (assignments): 13 * 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.0001243/0.1369, allocations: 135.3 kB / 0.5621 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1369, allocations: 15.91 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.137, allocations: 21.39 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.137, allocations: 0 / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.137, allocations: 3.984 kB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.137, allocations: 3.938 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005848/0.1376, allocations: 456 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1376, allocations: 4.062 kB / 0.5625 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.1377, allocations: 15.94 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1377, allocations: 0 / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.1377, allocations: 4 kB / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.1377, allocations: 0 / 0.5626 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1377, allocations: 4 kB / 0.5626 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.138, allocations: 245.2 kB / 0.5628 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.138, allocations: 93.05 kB / 0.5629 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.1381, allocations: 7.938 kB / 0.5629 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1381, allocations: 7.984 kB / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.1382, allocations: 4 kB / 0.5629 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.1382, allocations: 7.984 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.1384, allocations: 176.4 kB / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1384, allocations: 0 / 0.5631 GB, free: 14.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1386, allocations: 31.92 kB / 0.5631 GB, free: 14.41 MB / 430.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: 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 (11): * Single equations (assignments): 9 * 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.002457/0.1411, allocations: 1.172 MB / 0.5643 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1413, allocations: 75.91 kB / 0.5643 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1413, allocations: 0 / 0.5643 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.921e-05/0.1414, allocations: 39.86 kB / 0.5644 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1418, allocations: 31.73 kB / 0.5644 GB, free: 13.27 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1443, allocations: 1.858 MB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.1447, allocations: 0.7119 MB / 0.5669 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.1448, allocations: 20.62 kB / 0.5669 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.1448, allocations: 51.41 kB / 0.567 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1448, allocations: 0 / 0.567 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02661/0.1714, allocations: 3.971 MB / 0.5708 GB, free: 6.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.216, allocations: 3.125 kB / 0.5708 GB, free: 6.59 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.39140567323193]