Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001248, allocations: 105 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 195 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3466/0.3466, allocations: 43.49 MB / 313.6 MB, free: 8.184 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 71.91 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1338, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003121/0.1369, allocations: 1.756 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.1382, allocations: 0.7807 MB / 442.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.585e-05/0.1383, allocations: 11.88 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002804/0.1386, allocations: 23.91 kB / 442.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1388, allocations: 47.83 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.139, allocations: 83.84 kB / 442.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1391, allocations: 103.7 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/0.1392, allocations: 12.22 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.261e-05/0.1393, allocations: 39.8 kB / 443 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.561e-05/0.1394, allocations: 39.77 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.967e-05/0.1394, allocations: 4 kB / 443 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.1395, allocations: 43.94 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1396, allocations: 15.98 kB / 443.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.1396, allocations: 43.72 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1398, allocations: 111.9 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1398, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1398, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1399, allocations: 0 / 443.2 MB, free: 11.27 MB / 382.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.000476/0.1403, allocations: 414.9 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1404, allocations: 15.89 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.176e-05/0.1405, allocations: 30.75 kB / 443.7 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.1405, allocations: 12.78 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.1408, allocations: 220 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1408, allocations: 384 / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.1409, allocations: 7.938 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.141, allocations: 53.67 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.141, allocations: 3.938 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.141, allocations: 0 / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1411, allocations: 0 / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.964e-05/0.1411, allocations: 19.98 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.1415, allocations: 288.8 kB / 444.3 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.1417, allocations: 58.67 kB / 444.3 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.1418, allocations: 20.8 kB / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1418, allocations: 0 / 444.3 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.142, allocations: 75.39 kB / 444.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.142, allocations: 0 / 444.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005228/0.1426, allocations: 173.2 kB / 444.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1426, allocations: 51.41 kB / 444.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1428, allocations: 194.1 kB / 444.8 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1428, allocations: 29.7 kB / 444.9 MB, free: 9.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.564e-05/0.1429, allocations: 100.1 kB / 444.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1429, allocations: 19.72 kB / 445 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.143, allocations: 29.7 kB / 445 MB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1431, allocations: 322.8 kB / 445.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.467e-05/0.1432, allocations: 16 kB / 445.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.1432, allocations: 41.64 kB / 445.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1433, allocations: 65.7 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1434, allocations: 0 / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1435, allocations: 101.5 kB / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1436, allocations: 7.984 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1436, allocations: 0 / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1436, allocations: 0 / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.1437, allocations: 16 kB / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1437, allocations: 0 / 445.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1437, allocations: 7.938 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1438, allocations: 11.92 kB / 445.6 MB, free: 8.66 MB / 382.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.0001028/0.1439, allocations: 121.9 kB / 445.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.1439, allocations: 15.81 kB / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.144, allocations: 20.64 kB / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.144, allocations: 0 / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.144, allocations: 0 / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.144, allocations: 7.938 kB / 445.7 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.1445, allocations: 387.3 kB / 446.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1445, allocations: 0 / 446.1 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.1445, allocations: 12.03 kB / 446.1 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1445, allocations: 3.938 kB / 446.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1445, allocations: 7.984 kB / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1446, allocations: 0 / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1446, allocations: 0 / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.1448, allocations: 200.3 kB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.1449, allocations: 89 kB / 446.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.145, allocations: 12.31 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.029e-05/0.1451, allocations: 7.984 kB / 446.4 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.1451, allocations: 11.94 kB / 446.5 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.1451, allocations: 4 kB / 446.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1452, allocations: 144 kB / 446.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1452, allocations: 0 / 446.6 MB, free: 7.535 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002499/0.1455, allocations: 27.91 kB / 446.6 MB, free: 7.508 MB / 382.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.001433/0.1469, allocations: 1.113 MB / 447.7 MB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.1471, allocations: 55.92 kB / 447.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1471, allocations: 0 / 447.8 MB, free: 6.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.938e-05/0.1472, allocations: 31.92 kB / 447.8 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.1476, allocations: 35.83 kB / 447.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1493, allocations: 1.647 MB / 449.5 MB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.1496, allocations: 0.7002 MB / 450.2 MB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.1497, allocations: 21.19 kB / 450.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.1498, allocations: 35.42 kB / 450.3 MB, free: 3.766 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1498, allocations: 0 / 450.3 MB, free: 3.766 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/0.1646, allocations: 3.178 MB / 453.4 MB, free: 0.5664 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.1648, allocations: 242.7 kB / 453.7 MB, free: 312 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/1.987, allocations: 0 / 453.7 MB, free: 312 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches