Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",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.0007802/0.0007803, allocations: 90.75 kB / 17.35 MB, free: 5.98 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.0008427/0.0008428, allocations: 176.9 kB / 18.25 MB, free: 5.371 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.232/1.232, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1775/0.1775, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.092/0.09232, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001888/0.09424, allocations: 1.503 MB / 473.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.09629, allocations: 1.51 MB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.09639, allocations: 0 / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000256/0.09666, allocations: 39.83 kB / 475.4 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.09691, allocations: 79.67 kB / 475.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.09733, allocations: 155.7 kB / 475.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.09757, allocations: 175.4 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.09763, allocations: 13.55 kB / 475.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.09776, allocations: 71.62 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.09798, allocations: 75.67 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.09801, allocations: 4 kB / 476 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.09815, allocations: 59.91 kB / 476 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.727e-05/0.09822, allocations: 31.84 kB / 476.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.614e-05/0.0983, allocations: 77.38 kB / 476.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.09856, allocations: 163.8 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.09857, allocations: 7.938 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09858, allocations: 0 / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.09859, allocations: 0 / 476.3 MB, free: 9.273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006066/0.0992, allocations: 442.8 kB / 476.7 MB, free: 8.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.09924, allocations: 8.031 kB / 476.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.632e-05/0.0993, allocations: 38.73 kB / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.09935, allocations: 16.75 kB / 476.8 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.09961, allocations: 243.9 kB / 477 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.09964, allocations: 8.312 kB / 477.1 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.09966, allocations: 7.938 kB / 477.1 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001869/0.09986, allocations: 97.08 kB / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.09987, allocations: 0 / 477.2 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.09989, allocations: 3.938 kB / 477.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.0999, allocations: 0 / 477.2 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.928e-05/0.1, allocations: 39.91 kB / 477.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.1002, allocations: 214.5 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.1005, allocations: 101.2 kB / 477.5 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.305e-05/0.1006, allocations: 45.64 kB / 477.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1006, allocations: 4 kB / 477.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/0.1008, allocations: 109 kB / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1008, allocations: 0 / 477.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004107/0.1012, allocations: 165.4 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.1013, allocations: 132.5 kB / 478 MB, free: 7.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.1015, allocations: 219.7 kB / 478.2 MB, free: 7.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1016, allocations: 25.7 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.855e-05/0.1016, allocations: 112.1 kB / 478.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1017, allocations: 35.62 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.1017, allocations: 17.72 kB / 478.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1018, allocations: 326.8 kB / 478.7 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1019, allocations: 27.98 kB / 478.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.102, allocations: 72.14 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1022, allocations: 91.88 kB / 478.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1022, allocations: 3.938 kB / 478.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002516/0.1025, allocations: 137.4 kB / 479 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.1025, allocations: 10.19 kB / 479 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1025, allocations: 0 / 479 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1025, allocations: 0 / 479 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.1026, allocations: 27.92 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1026, allocations: 0 / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.1027, allocations: 19.95 kB / 479.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1027, allocations: 4 kB / 479.1 MB, free: 6.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000109/0.1029, allocations: 134.3 kB / 479.2 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.1029, allocations: 19.81 kB / 479.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.103, allocations: 24.92 kB / 479.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.103, allocations: 0 / 479.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.103, allocations: 4 kB / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.103, allocations: 0 / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.1032, allocations: 217.5 kB / 479.5 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1032, allocations: 11.88 kB / 479.5 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.1032, allocations: 4 kB / 479.5 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1032, allocations: 4 kB / 479.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1032, allocations: 0 / 479.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1032, allocations: 0 / 479.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1032, allocations: 4 kB / 479.5 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.1035, allocations: 173.6 kB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1036, allocations: 104.8 kB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1036, allocations: 4 kB / 479.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.1037, allocations: 7.984 kB / 479.8 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1037, allocations: 8 kB / 479.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.1038, allocations: 7.984 kB / 479.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1039, allocations: 156.2 kB / 479.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1039, allocations: 0 / 479.9 MB, free: 5.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1042, allocations: 39.98 kB / 480 MB, free: 5.203 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001369/0.1055, allocations: 1.059 MB / 481 MB, free: 4.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1058, allocations: 91.83 kB / 481.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1058, allocations: 0 / 481.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.1059, allocations: 39.98 kB / 481.2 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.1062, allocations: 43.95 kB / 481.2 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.1082, allocations: 1.849 MB / 483 MB, free: 2.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1084, allocations: 0.7245 MB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.427e-05/0.1085, allocations: 25.53 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.1086, allocations: 51.41 kB / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1086, allocations: 0 / 483.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.1239, allocations: 4.178 MB / 488 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.1241, allocations: 238.2 kB / 488.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/1.835, allocations: 3.938 kB / 488.3 MB, free: 13.04 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches