Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.001099/0.001099, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001115/0.001116, allocations: 192 kB / 18.56 MB, free: 4.434 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.393/1.393, allocations: 222.9 MB / 242.3 MB, free: 15.17 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.2207/0.2207, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 68.02 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1128, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003815/0.1167, allocations: 1.708 MB / 471.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1183, allocations: 0.8769 MB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.1184, allocations: 3.938 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003519/0.1188, allocations: 43.83 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002763/0.1191, allocations: 67.69 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1195, allocations: 114.8 kB / 472.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1197, allocations: 91.7 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1198, allocations: 12.23 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1199, allocations: 47.77 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.387e-05/0.12, allocations: 23.86 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.12, allocations: 4 kB / 472.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.1202, allocations: 43.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.1202, allocations: 31.91 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1203, allocations: 39.62 kB / 472.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1206, allocations: 131.8 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1206, allocations: 3.938 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1206, allocations: 3.938 kB / 472.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1206, allocations: 4 kB / 472.6 MB, free: 11 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.0006043/0.1212, allocations: 442.7 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1213, allocations: 8.031 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.706e-05/0.1213, allocations: 38.73 kB / 473.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.1213, allocations: 12.84 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.1216, allocations: 216.9 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1216, allocations: 8.375 kB / 473.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1217, allocations: 7.938 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1218, allocations: 57.61 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1219, allocations: 0 / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1219, allocations: 8 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.1219, allocations: 0 / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.122, allocations: 19.92 kB / 473.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.1224, allocations: 300.9 kB / 473.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1226, allocations: 58.62 kB / 473.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.1226, allocations: 20.84 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.1227, allocations: 0 / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1229, allocations: 67.39 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1229, allocations: 0 / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006098/0.1235, allocations: 192.9 kB / 474 MB, free: 9.395 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.1236, allocations: 55.41 kB / 474.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1239, allocations: 275.7 kB / 474.4 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.1239, allocations: 25.7 kB / 474.4 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.663e-05/0.124, allocations: 116.1 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.124, allocations: 27.64 kB / 474.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.1241, allocations: 21.72 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1242, allocations: 330.8 kB / 474.9 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.707e-05/0.1243, allocations: 20 kB / 474.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.603e-05/0.1244, allocations: 37.64 kB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1245, allocations: 61.7 kB / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1245, allocations: 0 / 475 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001884/0.1247, allocations: 101.4 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1247, allocations: 7.984 kB / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1247, allocations: 0 / 475.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1247, allocations: 4.031 kB / 475.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1248, allocations: 20.19 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1249, allocations: 0 / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1249, allocations: 7.875 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1249, allocations: 8.359 kB / 475.1 MB, free: 8.234 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.0001046/0.125, allocations: 137.8 kB / 475.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.1251, allocations: 15.81 kB / 475.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1251, allocations: 17.41 kB / 475.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1251, allocations: 4 kB / 475.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1251, allocations: 4 kB / 475.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1252, allocations: 11.92 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.1256, allocations: 399.3 kB / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1256, allocations: 0 / 475.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.1256, allocations: 11.98 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1257, allocations: 7.875 kB / 475.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1257, allocations: 4 kB / 475.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1257, allocations: 4.031 kB / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1257, allocations: 0 / 475.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.1259, allocations: 212.3 kB / 475.9 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.126, allocations: 88.92 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.126, allocations: 11.92 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1261, allocations: 4 kB / 476 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1261, allocations: 8 kB / 476 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.1262, allocations: 7.984 kB / 476.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1263, allocations: 205.5 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1263, allocations: 0 / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1266, allocations: 27.98 kB / 476.3 MB, free: 6.973 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.001393/0.128, allocations: 1.094 MB / 477.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1282, allocations: 55.97 kB / 477.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1282, allocations: 8 kB / 477.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1283, allocations: 31.92 kB / 477.5 MB, free: 5.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1286, allocations: 37.53 kB / 477.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1306, allocations: 1.824 MB / 479.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1309, allocations: 0.7235 MB / 480.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.978e-05/0.131, allocations: 20.78 kB / 480.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.1311, allocations: 43.42 kB / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1311, allocations: 0 / 480.1 MB, free: 3.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.1526, allocations: 3.679 MB / 483.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/7.642, allocations: 4 kB / 483.8 MB, free: 15.57 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches