Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001066/0.001065, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001066/0.001066, allocations: 192 kB / 18.55 MB, free: 4.566 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.1962/0.1962, allocations: 44.18 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.44 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002839/0.1054, allocations: 1.668 MB / 471 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1066, allocations: 0.8574 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1067, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.107, allocations: 63.73 kB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.1072, allocations: 59.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.1075, allocations: 107.6 kB / 472.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1077, allocations: 103.7 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1077, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.383e-05/0.1078, allocations: 43.77 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.409e-05/0.1079, allocations: 43.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1079, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.594e-05/0.108, allocations: 35.98 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.1081, allocations: 23.97 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.1082, allocations: 35.75 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.1083, allocations: 99.86 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1084, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1084, allocations: 0 / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1084, allocations: 0 / 472.5 MB, free: 11.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005658/0.1089, allocations: 403 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.109, allocations: 12.03 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.109, allocations: 30.75 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1091, allocations: 8.844 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1093, allocations: 204.1 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1093, allocations: 8.375 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1093, allocations: 3.938 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1095, allocations: 53.61 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1095, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1095, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1095, allocations: 0 / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.547e-05/0.1096, allocations: 15.98 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1098, allocations: 185.6 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.11, allocations: 54.56 kB / 473.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.1101, allocations: 20.84 kB / 473.5 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1101, allocations: 7.938 kB / 473.5 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1103, allocations: 67.33 kB / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1103, allocations: 0 / 473.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000298/0.1106, allocations: 93.58 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.1107, allocations: 51.41 kB / 473.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.1109, allocations: 194.1 kB / 473.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1109, allocations: 25.7 kB / 473.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1109, allocations: 100.1 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.111, allocations: 19.8 kB / 474 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.111, allocations: 21.66 kB / 474 MB, free: 9.355 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1112, allocations: 326.8 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.1112, allocations: 15.98 kB / 474.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.998e-05/0.1113, allocations: 21.72 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.508e-05/0.1114, allocations: 49.95 kB / 474.5 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1114, allocations: 3.938 kB / 474.5 MB, free: 8.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001523/0.1115, allocations: 77.53 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1116, allocations: 12.02 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1116, allocations: 7.938 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.1116, allocations: 0 / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.066e-05/0.1117, allocations: 8 kB / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1117, allocations: 0 / 474.6 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1117, allocations: 8 kB / 474.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1117, allocations: 0 / 474.6 MB, free: 8.809 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 (7): * Single equations (assignments): 7 * 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 8.664e-05/0.1118, allocations: 133.7 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1119, allocations: 11.81 kB / 474.7 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.1119, allocations: 20.3 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1119, allocations: 0 / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1119, allocations: 0 / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1119, allocations: 0 / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.1121, allocations: 189.5 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1121, allocations: 0 / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.1121, allocations: 4 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1121, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.1121, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1121, allocations: 0 / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.1121, allocations: 7.984 kB / 474.9 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1123, allocations: 108.9 kB / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1124, allocations: 89 kB / 475.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.1124, allocations: 4 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.1124, allocations: 4.062 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1125, allocations: 8 kB / 475.1 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.1125, allocations: 3.984 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.1126, allocations: 135.2 kB / 475.3 MB, free: 8.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1126, allocations: 4 kB / 475.3 MB, free: 8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.1128, allocations: 20 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001365/0.1142, allocations: 0.9315 MB / 476.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1144, allocations: 55.91 kB / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1144, allocations: 0 / 476.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.9e-05/0.1145, allocations: 16 kB / 476.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.1147, allocations: 35.48 kB / 476.3 MB, free: 7.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1163, allocations: 1.484 MB / 477.8 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.1166, allocations: 0.7002 MB / 478.5 MB, free: 4.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.099e-05/0.1167, allocations: 12.55 kB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.1167, allocations: 31.42 kB / 478.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1167, allocations: 0 / 478.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.1357, allocations: 2.981 MB / 481.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.315, allocations: 13.45 kB / 481.6 MB, free: 1.824 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches