Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.001378/0.001378, 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.001555/0.001555, 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2606/0.2606, allocations: 46.9 MB / 357.4 MB, free: 10.46 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.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 80.16 kB / 0.4913 GB, free: 8.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1226, allocations: 65.99 MB / 0.5558 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003161/0.1257, allocations: 1.693 MB / 0.5574 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1275, allocations: 1.012 MB / 0.5584 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.611e-05/0.1276, allocations: 8 kB / 0.5584 GB, free: 3.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.128, allocations: 55.69 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.1283, allocations: 103.6 kB / 0.5586 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1286, allocations: 71.69 kB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.1288, allocations: 99.73 kB / 0.5587 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.1288, allocations: 4.234 kB / 0.5587 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.1289, allocations: 43.78 kB / 0.5588 GB, free: 3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.129, allocations: 39.72 kB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.129, allocations: 4 kB / 0.5588 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.1291, allocations: 31.98 kB / 0.5588 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.026e-05/0.1292, allocations: 19.92 kB / 0.5589 GB, free: 2.906 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.1293, allocations: 39.69 kB / 0.5589 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1295, allocations: 123.4 kB / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1295, allocations: 0 / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1295, allocations: 0 / 0.559 GB, free: 2.746 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1295, allocations: 4 kB / 0.559 GB, free: 2.742 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006773/0.1302, allocations: 454.4 kB / 0.5595 GB, free: 2.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1302, allocations: 8.031 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.1302, allocations: 30.75 kB / 0.5595 GB, free: 2.203 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.1303, allocations: 12.89 kB / 0.5595 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1306, allocations: 225 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1306, allocations: 384 / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.1307, allocations: 384 / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1308, allocations: 57.8 kB / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.1308, allocations: 0 / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1308, allocations: 0 / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1308, allocations: 0 / 0.5598 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.1309, allocations: 23.91 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.1311, allocations: 193.7 kB / 0.56 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.1313, allocations: 46.62 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.1314, allocations: 20.84 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1314, allocations: 4 kB / 0.5601 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.1316, allocations: 79.25 kB / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.362e-06/0.1316, allocations: 0 / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003084/0.1319, allocations: 101.5 kB / 0.5602 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.1319, allocations: 51.41 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1322, allocations: 274.8 kB / 0.5605 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1322, allocations: 29.69 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1323, allocations: 112.1 kB / 0.5607 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1324, allocations: 15.91 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.1324, allocations: 17.72 kB / 0.5607 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.1326, allocations: 322.8 kB / 0.561 GB, free: 484 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.1326, allocations: 15.98 kB / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.1327, allocations: 37.7 kB / 0.5611 GB, free: 424 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1328, allocations: 41.66 kB / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1328, allocations: 0 / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001665/0.133, allocations: 93.45 kB / 0.5612 GB, free: 276 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.133, allocations: 7.938 kB / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.133, allocations: 0 / 0.5612 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.133, allocations: 4 kB / 0.5612 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.1331, allocations: 12.03 kB / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1331, allocations: 0 / 0.5612 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1331, allocations: 15.88 kB / 0.5612 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1331, allocations: 160 / 0.5612 GB, free: 236 kB / 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 (7): * Single equations (assignments): 7 * 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.0001266/0.1333, allocations: 133.8 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.1333, allocations: 19.84 kB / 0.5614 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.235e-05/0.1333, allocations: 17 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1333, allocations: 0 / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1333, allocations: 3.984 kB / 0.5614 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.1333, allocations: 4 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.1335, allocations: 193.6 kB / 0.5616 GB, free: 15.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1335, allocations: 8.25 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.1336, allocations: 3.938 kB / 0.5616 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1336, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1336, allocations: 4 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1336, allocations: 3.984 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1336, allocations: 0 / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1338, allocations: 117 kB / 0.5617 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.959e-05/0.1338, allocations: 88.95 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1338, allocations: 4 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.847e-05/0.1339, allocations: 3.984 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.366e-05/0.1339, allocations: 4 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1339, allocations: 0 / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000188/0.1341, allocations: 208.6 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1341, allocations: 3.938 kB / 0.562 GB, free: 15.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.1343, allocations: 12 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001886/0.1362, allocations: 0.9635 MB / 0.563 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.1364, allocations: 47.92 kB / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1364, allocations: 0 / 0.563 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.341e-05/0.1365, allocations: 19.98 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1367, allocations: 30.61 kB / 0.5631 GB, free: 14.38 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1387, allocations: 1.678 MB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.1391, allocations: 0.7119 MB / 0.5654 GB, free: 11.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.086e-05/0.1391, allocations: 12.55 kB / 0.5654 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.036e-05/0.1392, allocations: 43.42 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1392, allocations: 0 / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1648, allocations: 3.505 MB / 0.5689 GB, free: 8.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.204, allocations: 2.672 kB / 0.5689 GB, free: 8.367 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.250670714769512]