Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.001071/0.001078, allocations: 102.6 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.001461/0.00146, allocations: 180.7 kB / 16.92 MB, free: 6.922 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.489/1.489, allocations: 205.4 MB / 223.1 MB, free: 5.535 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.4254/0.4254, allocations: 43.58 MB / 315 MB, free: 9.039 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.0005786/0.0005788, allocations: 15.98 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1385, allocations: 58.87 MB / 443.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002344/0.1409, allocations: 1.414 MB / 445 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1423, allocations: 0.7653 MB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1424, allocations: 4 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1428, allocations: 55.8 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.143, allocations: 51.81 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.1434, allocations: 75.84 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1436, allocations: 91.7 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1437, allocations: 20.2 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.1438, allocations: 39.78 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1439, allocations: 43.72 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.144, allocations: 0 / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1441, allocations: 32 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.1442, allocations: 35.83 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.1443, allocations: 65.39 kB / 446.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.1445, allocations: 127.8 kB / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1445, allocations: 0 / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1445, allocations: 0 / 446.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1445, allocations: 4 kB / 446.4 MB, free: 9.949 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.0006166/0.1452, allocations: 426.8 kB / 446.8 MB, free: 9.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1452, allocations: 8.031 kB / 446.8 MB, free: 9.477 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.1453, allocations: 34.75 kB / 446.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1453, allocations: 12.75 kB / 446.8 MB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.1456, allocations: 228.8 kB / 447.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1456, allocations: 384 / 447.1 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.1457, allocations: 11.84 kB / 447.1 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1458, allocations: 57.67 kB / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1458, allocations: 0 / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1458, allocations: 3.938 kB / 447.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1459, allocations: 0 / 447.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.467e-05/0.1459, allocations: 19.98 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004217/0.1464, allocations: 300.8 kB / 447.5 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1466, allocations: 58.67 kB / 447.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.1467, allocations: 24.8 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.1467, allocations: 0 / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.1469, allocations: 67.38 kB / 447.6 MB, free: 8.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.527e-06/0.1469, allocations: 3.984 kB / 447.6 MB, free: 8.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006396/0.1476, allocations: 185 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.1476, allocations: 59.41 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1479, allocations: 276.8 kB / 448.1 MB, free: 8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.148, allocations: 29.7 kB / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.1481, allocations: 112.1 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.1481, allocations: 23.66 kB / 448.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.1482, allocations: 17.7 kB / 448.3 MB, free: 7.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1483, allocations: 330.8 kB / 448.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.1484, allocations: 15.98 kB / 448.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.874e-05/0.1485, allocations: 45.64 kB / 448.7 MB, free: 7.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.1486, allocations: 57.66 kB / 448.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1486, allocations: 0 / 448.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002121/0.1488, allocations: 109.4 kB / 448.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1488, allocations: 4 kB / 448.8 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1489, allocations: 4 kB / 448.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1489, allocations: 4.031 kB / 448.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.149, allocations: 19.98 kB / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.149, allocations: 0 / 448.9 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1491, allocations: 7.938 kB / 448.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1491, allocations: 4 kB / 448.9 MB, free: 7.188 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.0001212/0.1492, allocations: 133.8 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1492, allocations: 15.81 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.522e-05/0.1493, allocations: 25.33 kB / 449.1 MB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1493, allocations: 4 kB / 449.1 MB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1493, allocations: 3.938 kB / 449.1 MB, free: 7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.1493, allocations: 3.938 kB / 449.1 MB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.1498, allocations: 395.4 kB / 449.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1498, allocations: 0 / 449.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.1499, allocations: 11.94 kB / 449.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1499, allocations: 7.938 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.1499, allocations: 0 / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1499, allocations: 4.031 kB / 449.5 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1499, allocations: 4 kB / 449.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1502, allocations: 212.4 kB / 449.7 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1502, allocations: 88.92 kB / 449.8 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1503, allocations: 7.938 kB / 449.8 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.1503, allocations: 4 kB / 449.8 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.1504, allocations: 15.92 kB / 449.8 MB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.1504, allocations: 4 kB / 449.8 MB, free: 6.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.1506, allocations: 212.5 kB / 450 MB, free: 5.953 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1506, allocations: 0 / 450 MB, free: 5.953 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1509, allocations: 20 kB / 450 MB, free: 5.934 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.001514/0.1524, allocations: 1.109 MB / 451.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1526, allocations: 55.91 kB / 451.2 MB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1526, allocations: 8.062 kB / 451.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.146e-05/0.1527, allocations: 31.92 kB / 451.2 MB, free: 4.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1531, allocations: 23.98 kB / 451.3 MB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002202/0.1553, allocations: 1.865 MB / 453.1 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1557, allocations: 0.7238 MB / 453.8 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.368e-05/0.1557, allocations: 21.12 kB / 453.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.1558, allocations: 43.41 kB / 453.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1558, allocations: 0 / 453.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2187/0.3745, allocations: 3.297 MB / 457.2 MB, free: 45.68 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001416/0.3747, allocations: 233.2 kB / 457.4 MB, free: 45.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.208, allocations: 0 / 457.4 MB, free: 45.43 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches