Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",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.001289/0.001289, allocations: 106.4 kB / 17.2 MB, free: 6.289 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.001451/0.001451, allocations: 194 kB / 18.12 MB, free: 5.383 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.362/1.362, allocations: 222.9 MB / 241.8 MB, free: 15.45 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.2496/0.2496, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001141, allocations: 63.62 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1092, allocations: 60.82 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003296/0.1126, allocations: 1.765 MB / 470.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.114, allocations: 0.8615 MB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.1141, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.1144, allocations: 55.8 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1146, allocations: 55.75 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1149, allocations: 102.5 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1151, allocations: 87.7 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.1152, allocations: 16.22 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1153, allocations: 43.72 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.786e-05/0.1154, allocations: 31.84 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1154, allocations: 4 kB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1156, allocations: 43.97 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.672e-05/0.1156, allocations: 27.92 kB / 471.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.1157, allocations: 39.62 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.1159, allocations: 131.8 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1159, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1159, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1159, allocations: 0 / 471.9 MB, free: 11.46 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.0005618/0.1165, allocations: 442.8 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1166, allocations: 8.031 kB / 472.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1166, allocations: 34.73 kB / 472.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1167, allocations: 20.75 kB / 472.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1169, allocations: 212 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1169, allocations: 12.31 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1169, allocations: 3.938 kB / 472.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1171, allocations: 53.67 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1171, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1171, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.1171, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1172, allocations: 15.98 kB / 472.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.1176, allocations: 300.9 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1178, allocations: 58.61 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.904e-05/0.1179, allocations: 24.84 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.1179, allocations: 0 / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.1181, allocations: 71.39 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.1181, allocations: 0 / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005761/0.1187, allocations: 188.9 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.1188, allocations: 55.41 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.119, allocations: 266.9 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.119, allocations: 25.7 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.1191, allocations: 116.1 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.1192, allocations: 23.72 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.1192, allocations: 25.7 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.1193, allocations: 330.8 kB / 474.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.131e-05/0.1194, allocations: 19.92 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.1195, allocations: 41.64 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1196, allocations: 53.72 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1196, allocations: 4 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002119/0.1198, allocations: 109.4 kB / 474.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1199, allocations: 4 kB / 474.4 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.1199, allocations: 4 kB / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1199, allocations: 0 / 474.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.775e-05/0.12, allocations: 15.98 kB / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.12, allocations: 0 / 474.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.364e-05/0.1201, allocations: 15.88 kB / 474.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.1201, allocations: 7.938 kB / 474.4 MB, free: 8.695 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.0001081/0.1202, allocations: 137.9 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1202, allocations: 11.81 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.906e-05/0.1203, allocations: 21.39 kB / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1203, allocations: 0 / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1203, allocations: 0 / 474.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1203, allocations: 7.938 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004489/0.1208, allocations: 399.3 kB / 475 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1208, allocations: 4.031 kB / 475 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.1208, allocations: 8 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1208, allocations: 3.938 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.1208, allocations: 0 / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.1208, allocations: 4.375 kB / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1209, allocations: 240 / 475 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.1211, allocations: 212.1 kB / 475.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.1212, allocations: 96.91 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.1212, allocations: 11.94 kB / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.949e-05/0.1213, allocations: 0 / 475.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.1213, allocations: 11.98 kB / 475.3 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1214, allocations: 4 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1215, allocations: 196.2 kB / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 475.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.1218, allocations: 24 kB / 475.5 MB, free: 7.461 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.001751/0.1236, allocations: 1.107 MB / 476.6 MB, free: 6.512 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1238, allocations: 63.89 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1238, allocations: 0 / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.1239, allocations: 24 kB / 476.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1243, allocations: 31.97 kB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.1264, allocations: 1.811 MB / 478.6 MB, free: 4.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.1267, allocations: 0.7238 MB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1268, allocations: 21.17 kB / 479.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.1269, allocations: 39.42 kB / 479.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.1269, allocations: 0 / 479.3 MB, free: 3.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2742/0.4011, allocations: 3.473 MB / 482.8 MB, free: 328 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.4014, allocations: 230.9 kB / 483 MB, free: 68 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.875/3.276, allocations: 0 / 483 MB, free: 68 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches