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.00114/0.001141, allocations: 102.7 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.001288/0.001288, allocations: 199.9 kB / 16.91 MB, free: 6.188 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.776/1.776, allocations: 205.1 MB / 222.8 MB, free: 4.68 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.3732/0.3732, allocations: 43.49 MB / 313.6 MB, free: 8.602 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.001485/0.001485, allocations: 71.89 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1325, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003799/0.1363, allocations: 1.756 MB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1381, allocations: 0.7885 MB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.1383, allocations: 0 / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.1387, allocations: 35.89 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1391, allocations: 47.83 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.1394, allocations: 87.77 kB / 442.8 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1396, allocations: 95.7 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1398, allocations: 12.22 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1399, allocations: 47.72 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.412e-05/0.14, allocations: 31.84 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.14, allocations: 0 / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1402, allocations: 47.97 kB / 443.1 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.1402, allocations: 19.92 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.456e-05/0.1403, allocations: 35.75 kB / 443.1 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1406, allocations: 119.8 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1406, allocations: 4 kB / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1406, allocations: 0 / 443.2 MB, free: 11.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1406, allocations: 0 / 443.2 MB, free: 11.49 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.0006545/0.1413, allocations: 414.9 kB / 443.6 MB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.125e-05/0.1414, allocations: 15.89 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.1414, allocations: 30.75 kB / 443.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/0.1415, allocations: 12.83 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.1418, allocations: 216.7 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.1418, allocations: 4.375 kB / 443.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.1418, allocations: 7.938 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.142, allocations: 57.61 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1421, allocations: 0 / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1421, allocations: 3.984 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1421, allocations: 0 / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1422, allocations: 19.98 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1426, allocations: 288.9 kB / 444.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1428, allocations: 54.62 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.1429, allocations: 24.84 kB / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1429, allocations: 0 / 444.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/0.1432, allocations: 67.39 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.1432, allocations: 0 / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000573/0.1438, allocations: 173.1 kB / 444.6 MB, free: 9.949 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.1438, allocations: 55.41 kB / 444.6 MB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.144, allocations: 199.3 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.144, allocations: 25.7 kB / 444.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.1441, allocations: 112 kB / 445 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1442, allocations: 23.73 kB / 445 MB, free: 9.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.1442, allocations: 25.7 kB / 445 MB, free: 9.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1443, allocations: 322.8 kB / 445.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1444, allocations: 20 kB / 445.4 MB, free: 9.137 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.936e-05/0.1445, allocations: 45.52 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.1446, allocations: 62.08 kB / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-06/0.1446, allocations: 0 / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002004/0.1448, allocations: 105.4 kB / 445.6 MB, free: 8.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1449, allocations: 8 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1449, allocations: 4 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1449, allocations: 0 / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/0.145, allocations: 12 kB / 445.6 MB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.145, allocations: 4 kB / 445.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.12e-05/0.1451, allocations: 11.92 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1451, allocations: 4 kB / 445.6 MB, free: 8.867 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.1452, allocations: 125.8 kB / 445.7 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1452, allocations: 15.81 kB / 445.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.807e-05/0.1453, allocations: 17.39 kB / 445.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1453, allocations: 0 / 445.8 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.1453, allocations: 4 kB / 445.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1453, allocations: 3.938 kB / 445.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1458, allocations: 387.3 kB / 446.2 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1458, allocations: 4 kB / 446.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1458, allocations: 12.02 kB / 446.2 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1458, allocations: 7.938 kB / 446.2 MB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.1459, allocations: 4 kB / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1459, allocations: 0 / 446.2 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1459, allocations: 4 kB / 446.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1461, allocations: 204.4 kB / 446.4 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.1462, allocations: 88.92 kB / 446.5 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.046e-05/0.1462, allocations: 15.92 kB / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.1463, allocations: 0 / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.235e-05/0.1463, allocations: 7.984 kB / 446.5 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1464, allocations: 7.984 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001394/0.1465, allocations: 152.9 kB / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1465, allocations: 0 / 446.6 MB, free: 7.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.1468, allocations: 27.98 kB / 446.7 MB, free: 7.691 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.001679/0.1485, allocations: 1.111 MB / 447.8 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1487, allocations: 55.97 kB / 447.8 MB, free: 6.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1488, allocations: 3.938 kB / 447.8 MB, free: 6.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.331e-05/0.1488, allocations: 27.98 kB / 447.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.1493, allocations: 35.84 kB / 447.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.1514, allocations: 1.678 MB / 449.6 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002829/0.1516, allocations: 0.7158 MB / 450.3 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.46e-05/0.1517, allocations: 13.19 kB / 450.3 MB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.1518, allocations: 35.42 kB / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1518, allocations: 0 / 450.3 MB, free: 3.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.1662, allocations: 3.239 MB / 453.6 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/0.1665, allocations: 246.5 kB / 453.8 MB, free: 396 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.977, allocations: 0 / 453.8 MB, free: 396 kB / 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