Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001049/0.001049, allocations: 110.8 kB / 17.33 MB, free: 6.023 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.001001/0.001001, allocations: 193.3 kB / 18.25 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.9 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.238/0.238, allocations: 44.17 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.91 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.143, allocations: 60.84 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.003881/0.1469, allocations: 1.753 MB / 470.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1486, allocations: 0.8614 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1487, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1492, allocations: 51.81 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002968/0.1495, allocations: 51.83 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.15, allocations: 95.81 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1502, allocations: 91.7 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1504, allocations: 24.14 kB / 471.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.1505, allocations: 39.8 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1506, allocations: 35.83 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1507, allocations: 4 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1508, allocations: 44 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.1509, allocations: 27.91 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.276e-05/0.151, allocations: 47.61 kB / 472 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.1512, allocations: 131.8 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1512, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1512, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.1513, allocations: 0 / 472.1 MB, free: 11.34 MB / 350.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.0006611/0.1519, allocations: 438.7 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.152, allocations: 12.03 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.152, allocations: 34.75 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.1521, allocations: 16.73 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.1525, allocations: 212 kB / 472.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1525, allocations: 12.3 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1526, allocations: 7.938 kB / 472.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.1528, allocations: 53.67 kB / 472.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1528, allocations: 3.938 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.1528, allocations: 0 / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1528, allocations: 0 / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.153, allocations: 19.98 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.1535, allocations: 292.9 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1538, allocations: 58.61 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.538e-05/0.1538, allocations: 24.84 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.1539, allocations: 4 kB / 473.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.1541, allocations: 67.39 kB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1541, allocations: 0 / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006064/0.1547, allocations: 189 kB / 473.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.1548, allocations: 51.41 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1551, allocations: 266.9 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.1551, allocations: 33.7 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.1552, allocations: 112.1 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.1552, allocations: 23.7 kB / 474 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.1553, allocations: 25.7 kB / 474 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.1554, allocations: 326.8 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.1555, allocations: 24.25 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.1556, allocations: 33.7 kB / 474.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1557, allocations: 65.7 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1557, allocations: 4 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001914/0.1559, allocations: 109.5 kB / 474.5 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.1559, allocations: 4 kB / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.1559, allocations: 0 / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1559, allocations: 0 / 474.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.156, allocations: 16 kB / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1561, allocations: 0 / 474.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.37e-05/0.1561, allocations: 15.86 kB / 474.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1561, allocations: 11.97 kB / 474.6 MB, free: 8.574 MB / 350.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.0001139/0.1563, allocations: 136.6 kB / 474.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1563, allocations: 15.81 kB / 474.7 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.1564, allocations: 17.41 kB / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1564, allocations: 0 / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1564, allocations: 3.984 kB / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1564, allocations: 3.938 kB / 474.8 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1569, allocations: 403.5 kB / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1569, allocations: 0 / 475.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.1569, allocations: 15.92 kB / 475.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.1569, allocations: 7.922 kB / 475.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.157, allocations: 4 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.157, allocations: 0 / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.157, allocations: 0 / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1572, allocations: 216.2 kB / 475.4 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.96e-05/0.1573, allocations: 88.92 kB / 475.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.1573, allocations: 7.922 kB / 475.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1574, allocations: 4 kB / 475.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.1575, allocations: 4 kB / 475.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1575, allocations: 7.984 kB / 475.5 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.1577, allocations: 196.2 kB / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1577, allocations: 0 / 475.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.1579, allocations: 20 kB / 475.7 MB, free: 7.344 MB / 350.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.001561/0.1595, allocations: 1.117 MB / 476.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.1597, allocations: 55.92 kB / 476.9 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1597, allocations: 4 kB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.1598, allocations: 28.12 kB / 476.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1602, allocations: 27.97 kB / 477 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.1622, allocations: 1.833 MB / 478.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1625, allocations: 0.7158 MB / 479.5 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.1626, allocations: 12.88 kB / 479.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.1627, allocations: 39.42 kB / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1627, allocations: 0 / 479.6 MB, free: 3.547 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01601/0.1787, allocations: 3.552 MB / 483.1 MB, free: 116 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/0.179, allocations: 231.2 kB / 483.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/2.084, allocations: 0 / 483.3 MB, free: 15.86 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches