Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test43,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43",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.001164/0.001164, allocations: 107.8 kB / 15.98 MB, free: 6.348 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.001101/0.001102, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.636/1.636, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3765/0.3765, allocations: 43.49 MB / 313.6 MB, free: 8.512 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.001602/0.001602, allocations: 71.12 kB / 382.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1238, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.003326/0.1271, allocations: 1.764 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1284, allocations: 0.7885 MB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1286, allocations: 3.938 kB / 442.7 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.1289, allocations: 35.89 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.1291, allocations: 51.83 kB / 442.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.1294, allocations: 75.84 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1296, allocations: 95.69 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1297, allocations: 16.22 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.1298, allocations: 39.8 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.1299, allocations: 43.77 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.13, allocations: 7.938 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1301, allocations: 43.98 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.1302, allocations: 19.92 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.1302, allocations: 35.73 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1305, allocations: 111.9 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1305, allocations: 0 / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1305, allocations: 0 / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1305, allocations: 0 / 443.2 MB, free: 11.47 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.0005791/0.1311, allocations: 422.9 kB / 443.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1311, allocations: 11.89 kB / 443.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1312, allocations: 30.75 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1312, allocations: 12.84 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1315, allocations: 208.7 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1315, allocations: 4.375 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1315, allocations: 3.938 kB / 443.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.1317, allocations: 53.67 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1317, allocations: 4 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1317, allocations: 7.938 kB / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1317, allocations: 0 / 444 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.009e-05/0.1318, allocations: 23.92 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.1323, allocations: 288.9 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.1325, allocations: 58.67 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.1325, allocations: 24.84 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1326, allocations: 7.938 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1328, allocations: 63.39 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.753e-06/0.1328, allocations: 0 / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006385/0.1335, allocations: 177.1 kB / 444.6 MB, free: 9.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.1335, allocations: 51.41 kB / 444.6 MB, free: 9.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002193/0.1338, allocations: 203.3 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1338, allocations: 29.7 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.1339, allocations: 104 kB / 445 MB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1339, allocations: 19.75 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.134, allocations: 29.7 kB / 445 MB, free: 9.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.1341, allocations: 322.8 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.465e-05/0.1341, allocations: 16 kB / 445.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.1342, allocations: 41.7 kB / 445.4 MB, free: 9.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.1343, allocations: 57.83 kB / 445.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1344, allocations: 0 / 445.5 MB, free: 9.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.1346, allocations: 113.4 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1346, allocations: 4 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1346, allocations: 0 / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1346, allocations: 7.984 kB / 445.6 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1347, allocations: 15.98 kB / 445.6 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1347, allocations: 4.188 kB / 445.6 MB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.917e-05/0.1348, allocations: 7.938 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1348, allocations: 0 / 445.6 MB, free: 8.848 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.0001054/0.1349, allocations: 129.8 kB / 445.7 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.135, allocations: 11.81 kB / 445.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.135, allocations: 25.38 kB / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.135, allocations: 0 / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.135, allocations: 0 / 445.8 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.135, allocations: 7.938 kB / 445.8 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1355, allocations: 391.3 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1355, allocations: 3.938 kB / 446.2 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.567e-05/0.1356, allocations: 11.94 kB / 446.2 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.1356, allocations: 8.297 kB / 446.2 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.1356, allocations: 4 kB / 446.2 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1356, allocations: 4 kB / 446.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1356, allocations: 0 / 446.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1358, allocations: 200.3 kB / 446.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1359, allocations: 88.92 kB / 446.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1359, allocations: 3.938 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.437e-05/0.136, allocations: 11.98 kB / 446.5 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1361, allocations: 7.938 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1361, allocations: 0 / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.1362, allocations: 160.9 kB / 446.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 0 / 446.7 MB, free: 7.691 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.1365, allocations: 27.98 kB / 446.7 MB, free: 7.664 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.0015/0.138, allocations: 1.102 MB / 447.8 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.1382, allocations: 63.89 kB / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1382, allocations: 0 / 447.8 MB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.1383, allocations: 31.92 kB / 447.9 MB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.1387, allocations: 32.28 kB / 447.9 MB, free: 6.449 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.1404, allocations: 1.678 MB / 449.6 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1407, allocations: 0.7002 MB / 450.3 MB, free: 3.953 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.1408, allocations: 16.88 kB / 450.3 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.1409, allocations: 39.42 kB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1409, allocations: 0 / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.154, allocations: 3.254 MB / 453.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.1542, allocations: 234.7 kB / 453.8 MB, free: 380 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/1.911, allocations: 4.062 kB / 453.8 MB, free: 376 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test43.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches