Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.000948/0.000948, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009523/0.0009523, allocations: 202.8 kB / 16.79 MB, free: 6.84 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.487/1.487, allocations: 205.1 MB / 222.6 MB, free: 4.754 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.3697/0.3697, allocations: 43.5 MB / 313.5 MB, free: 8.508 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.001661/0.001662, allocations: 67.91 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1296, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003702/0.1333, allocations: 1.753 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1348, allocations: 0.7924 MB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.135, allocations: 4 kB / 442.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.1354, allocations: 39.83 kB / 442.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002233/0.1356, allocations: 43.83 kB / 442.6 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.1359, allocations: 83.83 kB / 442.6 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1361, allocations: 91.7 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.1362, allocations: 16.22 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1363, allocations: 43.77 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.433e-05/0.1364, allocations: 27.86 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.1364, allocations: 0 / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1366, allocations: 47.91 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.1366, allocations: 19.92 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.582e-05/0.1367, allocations: 31.75 kB / 442.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1369, allocations: 111.9 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1369, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.137, allocations: 4 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.239e-06/0.137, allocations: 0 / 443 MB, free: 11.62 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.0005831/0.1376, allocations: 418.9 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1376, allocations: 8.031 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1377, allocations: 38.73 kB / 443.5 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1377, allocations: 8.844 kB / 443.5 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.138, allocations: 216.6 kB / 443.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.138, allocations: 4.359 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.138, allocations: 11.94 kB / 443.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.1382, allocations: 53.67 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1382, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1382, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1382, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.298e-05/0.1383, allocations: 19.98 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.1387, allocations: 284.8 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1389, allocations: 58.69 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1389, allocations: 20.84 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.139, allocations: 0 / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.1391, allocations: 71.33 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.835e-06/0.1392, allocations: 3.984 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005948/0.1398, allocations: 177.1 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.1398, allocations: 55.34 kB / 444.4 MB, free: 10 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.14, allocations: 203.3 kB / 444.6 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.14, allocations: 25.7 kB / 444.7 MB, free: 9.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1401, allocations: 108 kB / 444.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.1402, allocations: 27.72 kB / 444.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.1402, allocations: 21.72 kB / 444.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1404, allocations: 326.8 kB / 445.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.097e-05/0.1404, allocations: 23.98 kB / 445.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.1405, allocations: 37.64 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.1406, allocations: 61.72 kB / 445.3 MB, free: 9.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1406, allocations: 4 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002058/0.1408, allocations: 97.86 kB / 445.4 MB, free: 9.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1409, allocations: 4 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.1409, allocations: 4.031 kB / 445.4 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.1409, allocations: 4 kB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.141, allocations: 23.92 kB / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.141, allocations: 0 / 445.4 MB, free: 9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.1411, allocations: 11.94 kB / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.1411, allocations: 4 kB / 445.4 MB, free: 8.984 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.0001151/0.1412, allocations: 125.8 kB / 445.5 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1413, allocations: 15.81 kB / 445.5 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.1413, allocations: 21.41 kB / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1413, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1413, allocations: 0 / 445.6 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1413, allocations: 3.938 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.1418, allocations: 395.3 kB / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1418, allocations: 0 / 446 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.1418, allocations: 8 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1419, allocations: 3.938 kB / 446 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1419, allocations: 8.031 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1419, allocations: 0 / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1419, allocations: 3.938 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1421, allocations: 196.3 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.045e-05/0.1422, allocations: 92.91 kB / 446.3 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.1422, allocations: 3.938 kB / 446.3 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.1423, allocations: 4.188 kB / 446.3 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1423, allocations: 15.97 kB / 446.3 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.1423, allocations: 11.94 kB / 446.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001238/0.1425, allocations: 148.9 kB / 446.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1425, allocations: 0 / 446.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.1427, allocations: 28 kB / 446.5 MB, free: 7.812 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.00147/0.1442, allocations: 1.102 MB / 447.6 MB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.1444, allocations: 55.92 kB / 447.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1444, allocations: 0 / 447.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.1445, allocations: 31.98 kB / 447.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.1448, allocations: 27.78 kB / 447.7 MB, free: 6.613 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.1465, allocations: 1.696 MB / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1467, allocations: 0.7121 MB / 450.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.434e-05/0.1468, allocations: 21.2 kB / 450.1 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1469, allocations: 35.42 kB / 450.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1469, allocations: 0 / 450.2 MB, free: 4.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1605, allocations: 3.168 MB / 453.3 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.1607, allocations: 238.4 kB / 453.6 MB, free: 0.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.803, allocations: 0 / 453.6 MB, free: 0.582 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches