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.001077/0.001078, allocations: 108.3 kB / 15.99 MB, free: 5.906 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.001145/0.001145, allocations: 195.2 kB / 16.91 MB, free: 5.758 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.695/1.695, allocations: 205.1 MB / 222.8 MB, free: 4.566 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.3946/0.3946, allocations: 43.5 MB / 313.6 MB, free: 8.445 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.00142/0.00142, allocations: 67.91 kB / 382.3 MB, free: 8.496 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003122/0.1379, allocations: 1.76 MB / 441.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.1398, allocations: 1.375 MB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.972e-05/0.1399, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.1402, allocations: 35.84 kB / 443.3 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.1404, allocations: 51.83 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.1407, allocations: 79.84 kB / 443.4 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.1408, allocations: 87.75 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.1409, allocations: 20.22 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.957e-05/0.141, allocations: 43.78 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1411, allocations: 47.7 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.1412, allocations: 4 kB / 443.6 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1413, allocations: 55.98 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.1413, allocations: 15.97 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.1414, allocations: 35.8 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1416, allocations: 119.9 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1416, allocations: 0 / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1416, allocations: 4 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1416, allocations: 3.938 kB / 443.8 MB, free: 10.86 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.0005003/0.1422, allocations: 407 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1422, allocations: 11.89 kB / 444.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.1422, allocations: 42.69 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.1423, allocations: 8.844 kB / 444.3 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1425, allocations: 204.1 kB / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.1425, allocations: 384 / 444.5 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1425, allocations: 11.94 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1427, allocations: 79.31 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1427, allocations: 3.906 kB / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1427, allocations: 0 / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.1427, allocations: 0 / 444.6 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.1428, allocations: 19.98 kB / 444.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.1431, allocations: 280.9 kB / 444.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1433, allocations: 58.62 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.259e-05/0.1434, allocations: 24.84 kB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.1434, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.1436, allocations: 63.39 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1436, allocations: 4 kB / 445 MB, free: 9.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005001/0.1441, allocations: 173.2 kB / 445.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1441, allocations: 81.11 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1443, allocations: 153.8 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1443, allocations: 29.7 kB / 445.5 MB, free: 9.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1444, allocations: 96.14 kB / 445.6 MB, free: 8.922 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/0.1444, allocations: 23.64 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1444, allocations: 21.72 kB / 445.6 MB, free: 8.871 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1446, allocations: 330.8 kB / 445.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.1446, allocations: 19.98 kB / 445.9 MB, free: 8.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.1447, allocations: 42.5 kB / 446 MB, free: 8.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.1448, allocations: 65.7 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1448, allocations: 384 / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.145, allocations: 101.5 kB / 446.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.145, allocations: 4 kB / 446.2 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.145, allocations: 4.156 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.145, allocations: 0 / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.091e-05/0.1451, allocations: 19.98 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1451, allocations: 3.984 kB / 446.2 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.284e-05/0.1452, allocations: 15.84 kB / 446.2 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1452, allocations: 4 kB / 446.2 MB, free: 8.242 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 8.127e-05/0.1453, allocations: 125.9 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.1453, allocations: 15.92 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.1454, allocations: 16.66 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1454, allocations: 4 kB / 446.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1454, allocations: 0 / 446.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1454, allocations: 3.938 kB / 446.4 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004084/0.1458, allocations: 391.3 kB / 446.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1458, allocations: 0 / 446.7 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3e-05/0.1459, allocations: 8 kB / 446.8 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1459, allocations: 7.969 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1459, allocations: 0 / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1459, allocations: 4 kB / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1459, allocations: 0 / 446.8 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1461, allocations: 200.2 kB / 447 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1462, allocations: 85 kB / 447 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.1462, allocations: 15.94 kB / 447.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1463, allocations: 0 / 447.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1463, allocations: 7.984 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1463, allocations: 4 kB / 447.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.361e-05/0.1464, allocations: 119.2 kB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1464, allocations: 0 / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1467, allocations: 32 kB / 447.2 MB, free: 7.121 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.001448/0.1482, allocations: 1.144 MB / 448.4 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1483, allocations: 59.92 kB / 448.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1484, allocations: 0 / 448.4 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.258e-05/0.1484, allocations: 23.98 kB / 448.4 MB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.1488, allocations: 35.83 kB / 448.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.1504, allocations: 1.566 MB / 450 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.1507, allocations: 0.704 MB / 450.7 MB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.826e-05/0.1508, allocations: 17.33 kB / 450.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.1509, allocations: 31.42 kB / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1509, allocations: 0 / 450.8 MB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.1651, allocations: 3.377 MB / 454.2 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2275/0.3926, allocations: 231.3 kB / 454.4 MB, free: 51.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.138, allocations: 2.188 kB / 454.4 MB, free: 51.06 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