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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 89.75 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 202.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.7 MB / 246.8 MB, free: 9.574 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.18 MB / 345.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002616, allocations: 8 kB / 419.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1317, allocations: 63.56 MB / 483.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001949/0.1337, allocations: 1.411 MB / 484.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1352, allocations: 0.9747 MB / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.855e-05/0.1353, allocations: 0 / 485.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1356, allocations: 47.81 kB / 485.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1359, allocations: 87.67 kB / 485.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.1361, allocations: 63.88 kB / 485.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1363, allocations: 99.62 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.652e-05/0.1364, allocations: 4.234 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.1365, allocations: 47.77 kB / 485.9 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.322e-05/0.1366, allocations: 27.86 kB / 485.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1366, allocations: 4 kB / 485.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1367, allocations: 31.92 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1367, allocations: 31.84 kB / 486 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.025e-05/0.1368, allocations: 69.38 kB / 486.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.137, allocations: 119.8 kB / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.137, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.137, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.137, allocations: 0 / 486.2 MB, free: 0.9609 MB / 350.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.0005125/0.1375, allocations: 414.9 kB / 486.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1376, allocations: 12.88 kB / 486.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.026e-05/0.1376, allocations: 30.75 kB / 486.6 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1377, allocations: 20.69 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1379, allocations: 221 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1379, allocations: 384 / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.138, allocations: 7.938 kB / 486.9 MB, free: 176 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.1381, allocations: 45.67 kB / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1381, allocations: 0 / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.1381, allocations: 0 / 486.9 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1381, allocations: 4 kB / 486.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.445e-05/0.1382, allocations: 15.98 kB / 487 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.1384, allocations: 185.7 kB / 487.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1386, allocations: 66.48 kB / 487.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.1387, allocations: 20.84 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.1387, allocations: 4 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.1388, allocations: 63.33 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1389, allocations: 4 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002753/0.1391, allocations: 101.4 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.1392, allocations: 51.41 kB / 487.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.1394, allocations: 267 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1395, allocations: 25.7 kB / 487.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1395, allocations: 116.1 kB / 487.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1396, allocations: 15.8 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.1396, allocations: 13.72 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1397, allocations: 326.8 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.1398, allocations: 15.98 kB / 488.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.017e-05/0.1398, allocations: 33.7 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.398e-05/0.1399, allocations: 53.83 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.14, allocations: 3.938 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001515/0.1401, allocations: 81.5 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1401, allocations: 14.69 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.1402, allocations: 3.984 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1402, allocations: 3.938 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1402, allocations: 11.98 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1403, allocations: 0 / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1403, allocations: 7.938 kB / 488.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1403, allocations: 4 kB / 488.4 MB, free: 14.49 MB / 366.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.0001074/0.1404, allocations: 133.8 kB / 488.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.1405, allocations: 15.81 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.05e-05/0.1405, allocations: 24.98 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1405, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1405, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1405, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.1407, allocations: 205.5 kB / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1407, allocations: 0 / 488.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-05/0.1407, allocations: 7.984 kB / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1407, allocations: 0 / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1408, allocations: 0 / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1408, allocations: 0 / 488.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1408, allocations: 3.938 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/0.141, allocations: 120.9 kB / 488.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.141, allocations: 92.86 kB / 489 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.141, allocations: 0 / 489 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.24e-05/0.1411, allocations: 7.984 kB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1411, allocations: 4 kB / 489 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1412, allocations: 4.125 kB / 489 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1413, allocations: 208.4 kB / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1413, allocations: 0 / 489.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1416, allocations: 20 kB / 489.2 MB, free: 13.57 MB / 366.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.001287/0.1429, allocations: 0.942 MB / 490.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001507/0.143, allocations: 39.98 kB / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.143, allocations: 0 / 490.2 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.1431, allocations: 23.92 kB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.1434, allocations: 24.23 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1452, allocations: 1.701 MB / 492 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.1454, allocations: 0.7121 MB / 492.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.1455, allocations: 12.55 kB / 492.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.334e-05/0.1456, allocations: 43.42 kB / 492.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1456, allocations: 0 / 492.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.1611, allocations: 3.041 MB / 495.8 MB, free: 7.145 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.1614, allocations: 233 kB / 496 MB, free: 6.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.884, allocations: 4 kB / 496 MB, free: 6.891 MB / 366.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test63.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches