Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.001323/0.001323, allocations: 101.5 kB / 16.27 MB, free: 5.93 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.001283/0.001283, allocations: 190.1 kB / 17.2 MB, free: 5.574 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.469/1.469, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2292/0.2292, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.001696/0.001696, allocations: 69.34 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.09828, allocations: 57.79 MB / 440.6 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002962/0.1013, allocations: 1.689 MB / 442.3 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1025, allocations: 0.7961 MB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1026, allocations: 7.938 kB / 443.1 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.103, allocations: 51.81 kB / 443.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002416/0.1033, allocations: 59.69 kB / 443.2 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.1035, allocations: 87.75 kB / 443.3 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1037, allocations: 91.7 kB / 443.4 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1038, allocations: 20.16 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.1039, allocations: 39.8 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.69e-05/0.104, allocations: 27.86 kB / 443.5 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.104, allocations: 4 kB / 443.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1041, allocations: 39.97 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.389e-05/0.1042, allocations: 31.84 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.1043, allocations: 39.69 kB / 443.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.1045, allocations: 123.6 kB / 443.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1045, allocations: 4 kB / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1045, allocations: 0 / 443.7 MB, free: 3.656 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1045, allocations: 3.984 kB / 443.7 MB, free: 3.652 MB / 318.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.0005393/0.1051, allocations: 442.6 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.1052, allocations: 11.89 kB / 444.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.102e-05/0.1052, allocations: 34.75 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.1053, allocations: 12.75 kB / 444.2 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1055, allocations: 227.4 kB / 444.5 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1055, allocations: 4.375 kB / 444.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1055, allocations: 11.94 kB / 444.5 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1057, allocations: 53.67 kB / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1057, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.1057, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1057, allocations: 0 / 444.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.1058, allocations: 23.98 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.1062, allocations: 300.8 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.1063, allocations: 58.67 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.1064, allocations: 20.86 kB / 444.9 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.1064, allocations: 7.984 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.1066, allocations: 59.39 kB / 445 MB, free: 2.234 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.1067, allocations: 3.938 kB / 445 MB, free: 2.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005443/0.1072, allocations: 181.2 kB / 445.2 MB, free: 2.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.1073, allocations: 51.41 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.1074, allocations: 263.6 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1075, allocations: 25.7 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.1075, allocations: 124 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1076, allocations: 23.64 kB / 445.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.1076, allocations: 25.72 kB / 445.7 MB, free: 1.5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.1077, allocations: 326.8 kB / 446 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.1077, allocations: 27.92 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.1078, allocations: 33.7 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.1079, allocations: 61.7 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1079, allocations: 3.938 kB / 446.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001628/0.1081, allocations: 97.58 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1081, allocations: 8.031 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1081, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1081, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.663e-05/0.1082, allocations: 23.92 kB / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.1083, allocations: 0 / 446.2 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.1083, allocations: 11.84 kB / 446.2 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1083, allocations: 4 kB / 446.2 MB, free: 0.8867 MB / 318.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 8.745e-05/0.1084, allocations: 137.8 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1085, allocations: 11.91 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1085, allocations: 25.38 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1085, allocations: 4 kB / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1085, allocations: 0 / 446.4 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1085, allocations: 3.938 kB / 446.4 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.1089, allocations: 407.2 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1089, allocations: 384 / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.1089, allocations: 8 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1089, allocations: 3.938 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.109, allocations: 16.02 kB / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.109, allocations: 0 / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.109, allocations: 0 / 446.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.1092, allocations: 208.4 kB / 447.1 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.1093, allocations: 81.02 kB / 447.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1093, allocations: 7.938 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.785e-05/0.1094, allocations: 7.938 kB / 447.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1094, allocations: 8 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.1095, allocations: 4 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1097, allocations: 199.3 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1097, allocations: 192 / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1099, allocations: 24 kB / 447.4 MB, free: 15.65 MB / 334.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.001651/0.1116, allocations: 1.111 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.1118, allocations: 63.89 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1118, allocations: 4 kB / 448.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.212e-05/0.1119, allocations: 31.92 kB / 448.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.1123, allocations: 26.02 kB / 448.6 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.1148, allocations: 1.799 MB / 450.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.1152, allocations: 0.7234 MB / 451.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.922e-05/0.1153, allocations: 17.17 kB / 451.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.922e-05/0.1154, allocations: 39.42 kB / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1154, allocations: 0 / 451.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1385, allocations: 3.634 MB / 454.8 MB, free: 8.133 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.688/7.827, allocations: 3.984 kB / 454.8 MB, free: 8.129 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches