Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24",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.006163/0.006163, allocations: 101.1 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.001315/0.001315, allocations: 190.5 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.58/1.58, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.3982/0.3982, allocations: 43.49 MB / 313.5 MB, free: 8.559 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.001543/0.001544, allocations: 71.91 kB / 382.2 MB, free: 8.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1172, allocations: 57.77 MB / 439.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003925/0.1212, allocations: 1.76 MB / 441.7 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1226, allocations: 0.7962 MB / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.487e-05/0.1228, allocations: 0 / 442.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.1231, allocations: 43.83 kB / 442.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1233, allocations: 43.83 kB / 442.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.1236, allocations: 75.86 kB / 442.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.1238, allocations: 91.75 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.124, allocations: 12.2 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1241, allocations: 39.8 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.1242, allocations: 43.72 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.1242, allocations: 4 kB / 442.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.1244, allocations: 35.98 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.1245, allocations: 19.92 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.583e-05/0.1245, allocations: 31.8 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.1248, allocations: 111.9 kB / 443 MB, free: 11.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1249, allocations: 3.938 kB / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1249, allocations: 0 / 443 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1249, allocations: 0 / 443 MB, free: 11.6 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.0006849/0.1256, allocations: 418.9 kB / 443.4 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1256, allocations: 12.03 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.1257, allocations: 30.75 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.1257, allocations: 8.844 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.126, allocations: 216.7 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.126, allocations: 384 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.126, allocations: 7.938 kB / 443.7 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1262, allocations: 53.67 kB / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1262, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1262, allocations: 0 / 443.8 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1262, allocations: 8 kB / 443.8 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/0.1263, allocations: 19.92 kB / 443.8 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003781/0.1267, allocations: 292.9 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.1269, allocations: 54.67 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.1269, allocations: 20.86 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.127, allocations: 0 / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.1272, allocations: 75.25 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.406e-06/0.1272, allocations: 4 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005458/0.1277, allocations: 181.1 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1278, allocations: 51.41 kB / 444.4 MB, free: 9.984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.128, allocations: 195.3 kB / 444.6 MB, free: 9.785 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.128, allocations: 41.69 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.1281, allocations: 100 kB / 444.8 MB, free: 9.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.277e-05/0.1281, allocations: 23.73 kB / 444.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1281, allocations: 21.72 kB / 444.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1283, allocations: 322.8 kB / 445.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.7e-05/0.1283, allocations: 19.98 kB / 445.2 MB, free: 9.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.357e-05/0.1284, allocations: 37.7 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1285, allocations: 65.64 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1285, allocations: 0 / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.1287, allocations: 109.5 kB / 445.4 MB, free: 9.016 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1287, allocations: 4 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1288, allocations: 3.938 kB / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1288, allocations: 0 / 445.4 MB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.416e-05/0.1289, allocations: 19.98 kB / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1289, allocations: 0 / 445.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.1289, allocations: 7.969 kB / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.129, allocations: 4 kB / 445.4 MB, free: 8.977 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 9.638e-05/0.1291, allocations: 129.8 kB / 445.5 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1291, allocations: 15.8 kB / 445.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1291, allocations: 13.41 kB / 445.6 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1291, allocations: 4 kB / 445.6 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.1292, allocations: 3.984 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1292, allocations: 3.938 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004038/0.1296, allocations: 391.3 kB / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1296, allocations: 0 / 446 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.1296, allocations: 12.31 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.1296, allocations: 3.938 kB / 446 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1297, allocations: 4 kB / 446 MB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1297, allocations: 7.984 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1297, allocations: 0 / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1299, allocations: 204.3 kB / 446.2 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1299, allocations: 89.11 kB / 446.3 MB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.13, allocations: 3.938 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.1301, allocations: 15.88 kB / 446.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1301, allocations: 3.984 kB / 446.3 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1301, allocations: 4 kB / 446.3 MB, free: 7.977 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1302, allocations: 156.9 kB / 446.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1302, allocations: 7.938 kB / 446.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.1305, allocations: 24 kB / 446.5 MB, free: 7.793 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.001349/0.1319, allocations: 1.086 MB / 447.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.132, allocations: 59.91 kB / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1321, allocations: 0 / 447.6 MB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.1321, allocations: 35.91 kB / 447.7 MB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1325, allocations: 36.09 kB / 447.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1342, allocations: 1.692 MB / 449.4 MB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1345, allocations: 0.7043 MB / 450.1 MB, free: 4.082 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.9e-05/0.1346, allocations: 12.88 kB / 450.1 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1346, allocations: 35.42 kB / 450.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1346, allocations: 0 / 450.1 MB, free: 4.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01291/0.1476, allocations: 3.175 MB / 453.3 MB, free: 0.832 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.1478, allocations: 238.4 kB / 453.5 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/1.791, allocations: 0 / 453.5 MB, free: 0.5742 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches