Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",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.004112/0.004112, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.001015/0.001015, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.454/1.454, allocations: 205.1 MB / 222.6 MB, free: 4.742 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.3891/0.3891, allocations: 43.49 MB / 313.5 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.001422/0.001422, allocations: 63.91 kB / 382.1 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1349, allocations: 57.78 MB / 439.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003299/0.1382, allocations: 1.749 MB / 441.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1396, allocations: 0.8001 MB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.1397, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.1401, allocations: 99.73 kB / 442.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1403, allocations: 87.77 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1405, allocations: 71.84 kB / 442.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.1407, allocations: 111.7 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1408, allocations: 16.22 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.006e-05/0.1409, allocations: 47.78 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1411, allocations: 67.73 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1411, allocations: 4 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.1412, allocations: 39.97 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.1413, allocations: 27.86 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.734e-05/0.1413, allocations: 43.67 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1416, allocations: 131.8 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1416, allocations: 3.938 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1416, allocations: 0 / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1416, allocations: 4 kB / 443.2 MB, free: 11.42 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.0005901/0.1422, allocations: 438.7 kB / 443.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.1422, allocations: 12.03 kB / 443.7 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.1423, allocations: 34.75 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1423, allocations: 12.84 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1426, allocations: 227.6 kB / 443.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.1426, allocations: 8.312 kB / 443.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.1426, allocations: 7.938 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1428, allocations: 61.66 kB / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1429, allocations: 0 / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1429, allocations: 0 / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1429, allocations: 0 / 444 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.629e-05/0.143, allocations: 39.95 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1434, allocations: 304.7 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1436, allocations: 74.66 kB / 444.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.322e-05/0.1437, allocations: 28.84 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1437, allocations: 4 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.144, allocations: 71.39 kB / 444.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.144, allocations: 3.938 kB / 444.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006035/0.1446, allocations: 205.1 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1447, allocations: 59.39 kB / 444.8 MB, free: 9.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.1449, allocations: 242.5 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.1449, allocations: 33.7 kB / 445 MB, free: 9.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.282e-05/0.145, allocations: 112.1 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.145, allocations: 31.55 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1451, allocations: 25.72 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1452, allocations: 330.8 kB / 445.5 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.1453, allocations: 24 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.1454, allocations: 37.7 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.1455, allocations: 77.67 kB / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1455, allocations: 0 / 445.7 MB, free: 8.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001976/0.1457, allocations: 117.4 kB / 445.8 MB, free: 8.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1457, allocations: 4 kB / 445.8 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1458, allocations: 4 kB / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1458, allocations: 0 / 445.8 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.172e-05/0.1459, allocations: 19.92 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1459, allocations: 4 kB / 445.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.1459, allocations: 11.97 kB / 445.8 MB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.146, allocations: 4 kB / 445.8 MB, free: 8.555 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.0001139/0.1461, allocations: 137.8 kB / 446 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1461, allocations: 11.81 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.1462, allocations: 21.39 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1462, allocations: 4 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1462, allocations: 0 / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1462, allocations: 3.938 kB / 446 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004717/0.1467, allocations: 423.3 kB / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1467, allocations: 0 / 446.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/0.1467, allocations: 12 kB / 446.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1467, allocations: 3.938 kB / 446.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1468, allocations: 0 / 446.4 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1468, allocations: 4 kB / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1468, allocations: 0 / 446.4 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.147, allocations: 224.2 kB / 446.7 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.246e-05/0.1471, allocations: 85.02 kB / 446.7 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.1471, allocations: 3.938 kB / 446.7 MB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.1472, allocations: 8 kB / 446.8 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.1472, allocations: 7.984 kB / 446.8 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1473, allocations: 4.188 kB / 446.8 MB, free: 7.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1474, allocations: 192.2 kB / 447 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1474, allocations: 7.938 kB / 447 MB, free: 7.316 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1477, allocations: 27.98 kB / 447 MB, free: 7.289 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.00152/0.1492, allocations: 1.122 MB / 448.1 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.1494, allocations: 59.92 kB / 448.2 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1495, allocations: 4 kB / 448.2 MB, free: 6.117 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.1495, allocations: 35.97 kB / 448.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1499, allocations: 28.09 kB / 448.2 MB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.152, allocations: 1.853 MB / 450.1 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1524, allocations: 0.716 MB / 450.8 MB, free: 3.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.899e-05/0.1525, allocations: 16.64 kB / 450.8 MB, free: 3.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.158e-05/0.1525, allocations: 43.42 kB / 450.9 MB, free: 3.309 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1525, allocations: 4 kB / 450.9 MB, free: 3.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2091/0.3617, allocations: 3.515 MB / 454.4 MB, free: 48.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.3619, allocations: 236.7 kB / 454.6 MB, free: 48.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.038, allocations: 1.375 kB / 454.6 MB, free: 48.29 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches