Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",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.001054/0.001054, allocations: 98.09 kB / 15.98 MB, free: 6.352 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.001119/0.001119, allocations: 195.1 kB / 16.91 MB, free: 6.195 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.501/1.501, 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.4039/0.4039, allocations: 43.5 MB / 313.6 MB, free: 8.477 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.002058/0.002058, allocations: 67.89 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.133, allocations: 57.77 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004263/0.1374, allocations: 1.768 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1393, allocations: 0.808 MB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.1394, allocations: 7.938 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.1398, allocations: 35.89 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1402, allocations: 51.77 kB / 442.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.1405, allocations: 71.86 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1407, allocations: 95.75 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1409, allocations: 12.22 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.141, allocations: 47.72 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1411, allocations: 39.78 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1411, allocations: 11.94 kB / 443.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.1413, allocations: 71.95 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.1414, allocations: 11.98 kB / 443.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.265e-05/0.1415, allocations: 31.75 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1418, allocations: 123.9 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1418, allocations: 0 / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1419, allocations: 0 / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.1419, allocations: 0 / 443.3 MB, free: 11.42 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007838/0.1427, allocations: 423 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1427, allocations: 15.89 kB / 443.7 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.1428, allocations: 34.75 kB / 443.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.1429, allocations: 8.844 kB / 443.8 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.1432, allocations: 208 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1433, allocations: 4.375 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.1433, allocations: 7.938 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1435, allocations: 71.38 kB / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1436, allocations: 0 / 444 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1436, allocations: 4 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1436, allocations: 4 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.1437, allocations: 23.98 kB / 444.1 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.1443, allocations: 300.7 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1445, allocations: 62.53 kB / 444.4 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/0.1446, allocations: 24.98 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.19e-05/0.1447, allocations: 4 kB / 444.5 MB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003303/0.145, allocations: 67.38 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.145, allocations: 0 / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007608/0.1458, allocations: 181.2 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/0.1459, allocations: 77.11 kB / 444.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1461, allocations: 150.5 kB / 444.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1461, allocations: 33.7 kB / 445 MB, free: 9.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.1462, allocations: 100 kB / 445 MB, free: 9.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1463, allocations: 31.7 kB / 445.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.1464, allocations: 25.66 kB / 445.1 MB, free: 9.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1465, allocations: 326.8 kB / 445.4 MB, free: 9.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.65e-05/0.1466, allocations: 19.98 kB / 445.4 MB, free: 9.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.693e-05/0.1467, allocations: 42.56 kB / 445.5 MB, free: 8.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.1468, allocations: 69.67 kB / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1469, allocations: 0 / 445.6 MB, free: 8.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002419/0.1471, allocations: 105.5 kB / 445.7 MB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1471, allocations: 4 kB / 445.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1471, allocations: 0 / 445.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1472, allocations: 0 / 445.7 MB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1473, allocations: 19.98 kB / 445.7 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1473, allocations: 4.062 kB / 445.7 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.729e-05/0.1474, allocations: 11.94 kB / 445.7 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1474, allocations: 4 kB / 445.7 MB, free: 8.742 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 (11): * Single equations (assignments): 11 * 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.0001101/0.1475, allocations: 121.8 kB / 445.8 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1475, allocations: 11.91 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.1478, allocations: 110.8 kB / 445.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1478, allocations: 4 kB / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1478, allocations: 0 / 445.9 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1478, allocations: 7.938 kB / 446 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.1483, allocations: 407.2 kB / 446.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1484, allocations: 0 / 446.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.1484, allocations: 8 kB / 446.4 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.1484, allocations: 7.938 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1484, allocations: 3.984 kB / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.1484, allocations: 0 / 446.4 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1485, allocations: 4 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.1487, allocations: 208.4 kB / 446.6 MB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/0.1488, allocations: 85.02 kB / 446.7 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1488, allocations: 11.92 kB / 446.7 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1489, allocations: 7.938 kB / 446.7 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1489, allocations: 4 kB / 446.7 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.149, allocations: 7.984 kB / 446.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.295e-05/0.1491, allocations: 118.7 kB / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1491, allocations: 0 / 446.8 MB, free: 7.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003069/0.1494, allocations: 39.98 kB / 446.8 MB, free: 7.488 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 (9): * Single equations (assignments): 7 * 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.001844/0.1512, allocations: 1.152 MB / 448 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002452/0.1515, allocations: 75.91 kB / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1515, allocations: 0 / 448.1 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.518e-05/0.1516, allocations: 31.92 kB / 448.1 MB, free: 6.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.152, allocations: 28 kB / 448.1 MB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1541, allocations: 1.594 MB / 449.7 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.1544, allocations: 0.7002 MB / 450.4 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.942e-05/0.1545, allocations: 16.83 kB / 450.4 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.926e-05/0.1546, allocations: 39.41 kB / 450.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1546, allocations: 0 / 450.5 MB, free: 3.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.1699, allocations: 3.483 MB / 454 MB, free: 236 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3116/0.4815, allocations: 252.7 kB / 454.2 MB, free: 51.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.013/2.494, allocations: 0 / 454.2 MB, free: 51.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches