Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57",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.0009098/0.0009096, allocations: 102.8 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.001221/0.001221, allocations: 186.5 kB / 16.92 MB, free: 6.918 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.573/1.573, allocations: 205.4 MB / 223.1 MB, free: 5.738 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.3983/0.3983, allocations: 43.57 MB / 315 MB, free: 8.664 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.0005667/0.000567, allocations: 16 kB / 384.7 MB, free: 7.535 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1371, allocations: 58.87 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002277/0.1395, allocations: 1.414 MB / 445 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1417, allocations: 1.352 MB / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1419, allocations: 0 / 446.3 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.1423, allocations: 39.83 kB / 446.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.1426, allocations: 51.83 kB / 446.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.143, allocations: 79.84 kB / 446.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002673/0.1433, allocations: 91.7 kB / 446.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1434, allocations: 8.219 kB / 446.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1436, allocations: 43.77 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.1439, allocations: 35.78 kB / 446.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.212e-05/0.1439, allocations: 4 kB / 446.7 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002222/0.1442, allocations: 59.97 kB / 446.7 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.1443, allocations: 19.91 kB / 446.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1444, allocations: 53.52 kB / 446.8 MB, free: 9.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003798/0.1448, allocations: 115.9 kB / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.1448, allocations: 0 / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.1448, allocations: 0 / 446.9 MB, free: 9.176 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1448, allocations: 3.938 kB / 446.9 MB, free: 9.172 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.0008601/0.1457, allocations: 403.1 kB / 447.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/0.1457, allocations: 8.031 kB / 447.3 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.452e-05/0.1458, allocations: 42.75 kB / 447.4 MB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.613e-05/0.1459, allocations: 8.844 kB / 447.4 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.1463, allocations: 200.1 kB / 447.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1464, allocations: 8.375 kB / 447.6 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1464, allocations: 7.938 kB / 447.6 MB, free: 8.414 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.1466, allocations: 71.33 kB / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1466, allocations: 3.938 kB / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1467, allocations: 0 / 447.6 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1467, allocations: 4 kB / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.1468, allocations: 23.97 kB / 447.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1472, allocations: 280.9 kB / 448 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.1474, allocations: 62.61 kB / 448 MB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1474, allocations: 24.84 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1475, allocations: 4 kB / 448 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1477, allocations: 63.39 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1477, allocations: 0 / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005756/0.1483, allocations: 169.2 kB / 448.3 MB, free: 7.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.1483, allocations: 77.11 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.1485, allocations: 157 kB / 448.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.1485, allocations: 33.7 kB / 448.5 MB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.1486, allocations: 96.03 kB / 448.6 MB, free: 7.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.1486, allocations: 23.66 kB / 448.6 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1487, allocations: 21.7 kB / 448.7 MB, free: 7.188 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1488, allocations: 326.8 kB / 449 MB, free: 6.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.178e-05/0.1489, allocations: 12 kB / 449 MB, free: 6.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.1489, allocations: 50.5 kB / 449 MB, free: 6.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.1491, allocations: 61.72 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1491, allocations: 0 / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.1493, allocations: 101.5 kB / 449.2 MB, free: 6.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1493, allocations: 4 kB / 449.2 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1493, allocations: 3.984 kB / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.1493, allocations: 0 / 449.2 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.934e-05/0.1494, allocations: 16 kB / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1494, allocations: 192 / 449.2 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.645e-05/0.1495, allocations: 11.97 kB / 449.2 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.1495, allocations: 3.938 kB / 449.2 MB, free: 6.578 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.0001167/0.1496, allocations: 129.8 kB / 449.4 MB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1497, allocations: 7.906 kB / 449.4 MB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.1e-05/0.1497, allocations: 12.72 kB / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1497, allocations: 0 / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1497, allocations: 0 / 449.4 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1497, allocations: 11.92 kB / 449.4 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.1502, allocations: 395.8 kB / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1502, allocations: 0 / 449.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.906e-05/0.1503, allocations: 16 kB / 449.8 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1503, allocations: 3.938 kB / 449.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1503, allocations: 3.984 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1503, allocations: 4 kB / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1503, allocations: 0 / 449.8 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1506, allocations: 200.3 kB / 450 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.1506, allocations: 84.95 kB / 450.1 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.1507, allocations: 11.92 kB / 450.1 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.609e-05/0.1507, allocations: 8 kB / 450.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.1508, allocations: 0 / 450.1 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1508, allocations: 7.984 kB / 450.1 MB, free: 5.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.1509, allocations: 115.3 kB / 450.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1509, allocations: 4 kB / 450.2 MB, free: 5.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002817/0.1512, allocations: 35.89 kB / 450.3 MB, free: 5.445 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.001587/0.1528, allocations: 1.139 MB / 451.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001936/0.153, allocations: 55.97 kB / 451.5 MB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.153, allocations: 4.062 kB / 451.5 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.1531, allocations: 31.92 kB / 451.5 MB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.1535, allocations: 19.98 kB / 451.5 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1552, allocations: 1.577 MB / 453.1 MB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1554, allocations: 0.7004 MB / 453.8 MB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.1555, allocations: 16.88 kB / 453.8 MB, free: 1.785 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.1556, allocations: 35.42 kB / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1556, allocations: 0 / 453.9 MB, free: 1.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2216/0.3772, allocations: 3.058 MB / 456.9 MB, free: 45.44 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3774, allocations: 238.9 kB / 457.1 MB, free: 45.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.265, allocations: 7.125 kB / 457.2 MB, free: 45.18 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches