Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.0008204/0.0008208, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.562/1.562, allocations: 205.4 MB / 223.1 MB, free: 5.52 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.3786/0.3786, allocations: 43.56 MB / 315 MB, free: 8.855 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.0005164/0.0005163, allocations: 16 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 58.86 MB / 443.6 MB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002293/0.1344, allocations: 1.414 MB / 445 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1358, allocations: 0.773 MB / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1359, allocations: 0 / 445.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002946/0.1362, allocations: 39.89 kB / 445.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.1364, allocations: 43.83 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.1366, allocations: 83.78 kB / 445.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1368, allocations: 95.69 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.1369, allocations: 12.22 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.445e-05/0.137, allocations: 43.72 kB / 446.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.31e-05/0.1371, allocations: 27.84 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1371, allocations: 4 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.1372, allocations: 39.98 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.346e-05/0.1373, allocations: 23.91 kB / 446.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1374, allocations: 53.45 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1375, allocations: 123.8 kB / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1376, allocations: 0 / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1376, allocations: 0 / 446.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1376, allocations: 0 / 446.3 MB, free: 9.785 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.0005462/0.1381, allocations: 395 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.1382, allocations: 8.031 kB / 446.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.864e-05/0.1382, allocations: 38.75 kB / 446.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.1383, allocations: 8.844 kB / 446.8 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1385, allocations: 212.7 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1385, allocations: 8.375 kB / 447 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.1386, allocations: 7.938 kB / 447 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1387, allocations: 61.61 kB / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1387, allocations: 0 / 447 MB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1388, allocations: 3.984 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1388, allocations: 3.984 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.1389, allocations: 16 kB / 447.1 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1392, allocations: 288.9 kB / 447.3 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.1394, allocations: 58.62 kB / 447.4 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.1395, allocations: 20.84 kB / 447.4 MB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1395, allocations: 4 kB / 447.4 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1397, allocations: 63.39 kB / 447.5 MB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1397, allocations: 4 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005626/0.1403, allocations: 173.1 kB / 447.7 MB, free: 8.258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1403, allocations: 55.41 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1405, allocations: 199.3 kB / 447.9 MB, free: 7.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.1406, allocations: 25.7 kB / 447.9 MB, free: 7.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1406, allocations: 108.1 kB / 448 MB, free: 7.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.1407, allocations: 27.64 kB / 448.1 MB, free: 7.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.1407, allocations: 13.7 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1409, allocations: 330.8 kB / 448.4 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.323e-05/0.1409, allocations: 16 kB / 448.4 MB, free: 7.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.141, allocations: 41.58 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1411, allocations: 61.7 kB / 448.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1411, allocations: 3.938 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001703/0.1413, allocations: 101.4 kB / 448.6 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1413, allocations: 4 kB / 448.6 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1413, allocations: 7.984 kB / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1413, allocations: 0 / 448.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.1414, allocations: 12 kB / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1415, allocations: 0 / 448.6 MB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.622e-05/0.1415, allocations: 11.94 kB / 448.7 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1415, allocations: 4 kB / 448.7 MB, free: 7.191 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.0001048/0.1416, allocations: 129.8 kB / 448.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.1417, allocations: 15.94 kB / 448.8 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.62e-05/0.1417, allocations: 17.55 kB / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1417, allocations: 0 / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1417, allocations: 0 / 448.8 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1417, allocations: 7.938 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.1422, allocations: 395.2 kB / 449.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1422, allocations: 0 / 449.2 MB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.082e-05/0.1423, allocations: 12.36 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.1423, allocations: 11.97 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1423, allocations: 0 / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1423, allocations: 4 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1423, allocations: 0 / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1425, allocations: 208.2 kB / 449.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.1426, allocations: 88.91 kB / 449.5 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.1426, allocations: 7.938 kB / 449.5 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.1427, allocations: 12 kB / 449.6 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1427, allocations: 3.984 kB / 449.6 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1428, allocations: 4 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.143, allocations: 156.9 kB / 449.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.143, allocations: 0 / 449.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1432, allocations: 24 kB / 449.7 MB, free: 6.012 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.001601/0.1448, allocations: 1.098 MB / 450.8 MB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.145, allocations: 63.97 kB / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.145, allocations: 0 / 450.9 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/0.1451, allocations: 27.92 kB / 450.9 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1454, allocations: 23.98 kB / 451 MB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1473, allocations: 1.705 MB / 452.7 MB, free: 3.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1476, allocations: 0.7043 MB / 453.4 MB, free: 2.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.342e-05/0.1476, allocations: 20.86 kB / 453.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.1477, allocations: 35.42 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1477, allocations: 0 / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2096/0.3574, allocations: 2.972 MB / 456.4 MB, free: 45.53 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.3576, allocations: 236.1 kB / 456.6 MB, free: 45.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.205, allocations: 0 / 456.6 MB, free: 45.28 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches