Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31",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.001026/0.001026, allocations: 101.1 kB / 16.26 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.001064/0.001064, allocations: 190.9 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.445/1.445, 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.2002/0.2002, allocations: 43.53 MB / 313.9 MB, free: 0.5156 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.001854/0.001854, allocations: 69.67 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.098/0.09988, allocations: 57.8 MB / 440.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003004/0.1029, allocations: 1.689 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.104, allocations: 0.8 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.944e-05/0.1041, allocations: 4 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002643/0.1044, allocations: 43.77 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.1046, allocations: 51.75 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1048, allocations: 91.39 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.105, allocations: 91.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.1051, allocations: 16.16 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.1051, allocations: 39.8 kB / 443.5 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.1052, allocations: 35.78 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1052, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.291e-05/0.1053, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.1054, allocations: 19.91 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.1054, allocations: 31.75 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.1056, allocations: 111.7 kB / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1056, allocations: 0 / 443.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1056, allocations: 4 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1056, allocations: 0 / 443.7 MB, free: 3.715 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.0004131/0.106, allocations: 418.9 kB / 444.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1061, allocations: 11.89 kB / 444.1 MB, free: 3.246 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.1061, allocations: 30.75 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.1062, allocations: 16.84 kB / 444.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1063, allocations: 201 kB / 444.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1063, allocations: 4.375 kB / 444.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.1064, allocations: 3.938 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.1065, allocations: 53.67 kB / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1065, allocations: 0 / 444.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1065, allocations: 8 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1065, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.699e-05/0.1066, allocations: 23.92 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.1069, allocations: 296.8 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.107, allocations: 58.66 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.1071, allocations: 24.84 kB / 444.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1071, allocations: 3.938 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001553/0.1073, allocations: 67.33 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1073, allocations: 3.938 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004397/0.1077, allocations: 181.1 kB / 445.1 MB, free: 2.156 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1078, allocations: 51.41 kB / 445.1 MB, free: 2.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.1079, allocations: 194.1 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1079, allocations: 29.7 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.1079, allocations: 100.1 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.108, allocations: 23.7 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.108, allocations: 17.72 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.108, allocations: 326.8 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.1081, allocations: 19.98 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.1082, allocations: 37.7 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.1083, allocations: 61.66 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1083, allocations: 0 / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001425/0.1084, allocations: 97.56 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.1084, allocations: 8 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1084, allocations: 3.938 kB / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1085, allocations: 0 / 446 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.649e-05/0.1085, allocations: 19.98 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1085, allocations: 8.031 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1086, allocations: 3.938 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1086, allocations: 4 kB / 446.1 MB, free: 1.105 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 6.218e-05/0.1087, allocations: 129.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.022e-05/0.1087, allocations: 15.8 kB / 446.2 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.1087, allocations: 16.72 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1087, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1088, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1088, allocations: 3.938 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1091, allocations: 391.3 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1091, allocations: 0 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.967e-05/0.1091, allocations: 20.3 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1091, allocations: 3.938 kB / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1091, allocations: 0 / 446.6 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1091, allocations: 8 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1091, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1093, allocations: 200.5 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.1093, allocations: 84.92 kB / 446.9 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1094, allocations: 19.8 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.1094, allocations: 0 / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.6e-05/0.1095, allocations: 4 kB / 446.9 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1095, allocations: 11.98 kB / 446.9 MB, free: 104 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.76e-05/0.1096, allocations: 139.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1096, allocations: 7.938 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.1099, allocations: 23.98 kB / 447.1 MB, free: 15.93 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.001345/0.1112, allocations: 1.088 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1114, allocations: 63.89 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1114, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.699e-05/0.1115, allocations: 35.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1118, allocations: 26.14 kB / 448.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.1134, allocations: 1.623 MB / 449.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1137, allocations: 0.704 MB / 450.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.175e-05/0.1137, allocations: 21.17 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.1138, allocations: 35.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1138, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.1339, allocations: 3.296 MB / 454 MB, free: 8.961 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.78, allocations: 7.938 kB / 454 MB, free: 8.953 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches