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.001019/0.001019, 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.001925/0.001925, allocations: 179.5 kB / 16.92 MB, free: 6.688 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.408/1.408, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.3391/0.3391, allocations: 43.58 MB / 315 MB, free: 9.125 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.0005561/0.0005561, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1321, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002245/0.1344, allocations: 1.422 MB / 445 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.1358, allocations: 0.8002 MB / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.491e-05/0.1359, allocations: 0 / 445.8 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1362, allocations: 27.91 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1364, allocations: 55.75 kB / 445.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.1366, allocations: 79.8 kB / 445.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1368, allocations: 95.73 kB / 446 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1369, allocations: 16.22 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.137, allocations: 35.8 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.487e-05/0.1371, allocations: 35.77 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1371, allocations: 4 kB / 446.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.1373, allocations: 59.92 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.1373, allocations: 15.97 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.737e-05/0.1374, allocations: 57.5 kB / 446.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1377, allocations: 119.9 kB / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1377, allocations: 0 / 446.4 MB, free: 9.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1377, allocations: 4 kB / 446.4 MB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.1377, allocations: 0 / 446.4 MB, free: 9.969 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.0006065/0.1383, allocations: 399.1 kB / 446.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1384, allocations: 8.031 kB / 446.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.932e-05/0.1384, allocations: 42.69 kB / 446.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.1385, allocations: 8.844 kB / 446.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.1387, allocations: 208.1 kB / 447 MB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1387, allocations: 4.375 kB / 447 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1388, allocations: 3.938 kB / 447 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.139, allocations: 75.33 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.139, allocations: 3.984 kB / 447.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.139, allocations: 8 kB / 447.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.139, allocations: 0 / 447.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.1391, allocations: 23.92 kB / 447.1 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1395, allocations: 288.8 kB / 447.4 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1397, allocations: 62.55 kB / 447.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.948e-05/0.1398, allocations: 24.97 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1398, allocations: 3.984 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.14, allocations: 75.39 kB / 447.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.14, allocations: 0 / 447.6 MB, free: 8.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005729/0.1406, allocations: 181.2 kB / 447.8 MB, free: 8.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1407, allocations: 77.11 kB / 447.8 MB, free: 8.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1409, allocations: 158.4 kB / 448 MB, free: 8.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.1409, allocations: 25.7 kB / 448 MB, free: 8.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.1409, allocations: 96.12 kB / 448.1 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.141, allocations: 23.66 kB / 448.1 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.973e-05/0.141, allocations: 17.72 kB / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1412, allocations: 322.8 kB / 448.5 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.1412, allocations: 31.92 kB / 448.5 MB, free: 7.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.699e-05/0.1413, allocations: 42.56 kB / 448.5 MB, free: 7.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.1414, allocations: 61.64 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1414, allocations: 4 kB / 448.6 MB, free: 7.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001922/0.1416, allocations: 109.5 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1417, allocations: 8.062 kB / 448.7 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.812e-06/0.1417, allocations: 4 kB / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1417, allocations: 0 / 448.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.1418, allocations: 19.94 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1418, allocations: 0 / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.1419, allocations: 11.92 kB / 448.7 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1419, allocations: 8 kB / 448.8 MB, free: 7.316 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.000101/0.142, allocations: 113.8 kB / 448.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.142, allocations: 15.81 kB / 448.9 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1423, allocations: 118.3 kB / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1423, allocations: 0 / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1423, allocations: 0 / 449 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1423, allocations: 3.938 kB / 449 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.1428, allocations: 395.3 kB / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1428, allocations: 0 / 449.4 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.1428, allocations: 15.98 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1428, allocations: 7.969 kB / 449.4 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1429, allocations: 4 kB / 449.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1429, allocations: 4 kB / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1429, allocations: 0 / 449.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1431, allocations: 200.2 kB / 449.6 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.1432, allocations: 89 kB / 449.7 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.1432, allocations: 11.94 kB / 449.7 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.376e-05/0.1433, allocations: 7.984 kB / 449.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.1434, allocations: 7.938 kB / 449.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.1434, allocations: 7.938 kB / 449.7 MB, free: 6.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.589e-05/0.1435, allocations: 122.7 kB / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1435, allocations: 0 / 449.9 MB, free: 6.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.1438, allocations: 35.98 kB / 449.9 MB, free: 6.07 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.001662/0.1454, allocations: 1.168 MB / 451.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.1456, allocations: 59.92 kB / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1456, allocations: 0 / 451.1 MB, free: 4.855 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.1457, allocations: 35.92 kB / 451.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.1461, allocations: 27.97 kB / 451.2 MB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.1478, allocations: 1.581 MB / 452.8 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1481, allocations: 0.7121 MB / 453.5 MB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.506e-05/0.1482, allocations: 21.17 kB / 453.5 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.1483, allocations: 31.42 kB / 453.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1483, allocations: 0 / 453.5 MB, free: 2.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1939/0.3422, allocations: 3.178 MB / 456.7 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.3424, allocations: 248.2 kB / 456.9 MB, free: 45.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.255, allocations: 0 / 456.9 MB, free: 45.36 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