Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30",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.001081/0.001081, allocations: 105.4 kB / 16.27 MB, free: 5.965 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.001105/0.001105, allocations: 193.4 kB / 17.2 MB, free: 5.598 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.45/1.45, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2191/0.2191, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001478/0.001478, allocations: 70.42 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003104/0.1097, allocations: 1.697 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1111, allocations: 0.8 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.1113, allocations: 0 / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1117, allocations: 39.81 kB / 443.2 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002069/0.1119, allocations: 55.7 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1121, allocations: 87.75 kB / 443.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1123, allocations: 91.7 kB / 443.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.1124, allocations: 20.16 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.382e-05/0.1125, allocations: 43.8 kB / 443.5 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.149e-05/0.1126, allocations: 27.84 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1127, allocations: 4 kB / 443.5 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1128, allocations: 39.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1128, allocations: 19.86 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.1129, allocations: 35.73 kB / 443.6 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1131, allocations: 111.7 kB / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1131, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1131, allocations: 0 / 443.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1131, 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.0005065/0.1136, allocations: 415 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1137, allocations: 11.89 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1137, allocations: 34.73 kB / 444.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.1137, allocations: 8.844 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.1139, allocations: 216.9 kB / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.114, allocations: 384 / 444.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.114, allocations: 7.938 kB / 444.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1141, allocations: 53.67 kB / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.1142, allocations: 0 / 444.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1142, allocations: 4 kB / 444.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1142, allocations: 4 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.804e-05/0.1143, allocations: 15.98 kB / 444.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.1146, allocations: 288.7 kB / 444.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1147, allocations: 62.61 kB / 444.8 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.1148, allocations: 24.84 kB / 444.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1148, allocations: 7.938 kB / 444.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.115, allocations: 63.39 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.115, allocations: 3.938 kB / 444.9 MB, free: 2.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005/0.1155, allocations: 173.2 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/0.1155, allocations: 59.39 kB / 445.1 MB, free: 2.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1157, allocations: 198 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1157, allocations: 29.7 kB / 445.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.1157, allocations: 100.1 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.1158, allocations: 19.72 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1158, allocations: 21.72 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.1159, allocations: 326.8 kB / 445.8 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.139e-05/0.1159, allocations: 19.98 kB / 445.8 MB, free: 1.363 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.116, allocations: 37.7 kB / 445.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.96e-05/0.1161, allocations: 57.7 kB / 445.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1161, allocations: 7.938 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001531/0.1163, allocations: 89.97 kB / 446 MB, free: 1.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1163, allocations: 4 kB / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1163, allocations: 0 / 446 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.1163, allocations: 4 kB / 446 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.231e-05/0.1164, allocations: 27.95 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.1164, allocations: 0 / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.1165, allocations: 11.94 kB / 446.1 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1165, 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 8.257e-05/0.1166, allocations: 129.7 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.1166, allocations: 11.81 kB / 446.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.1167, allocations: 20.7 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1167, allocations: 4 kB / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1167, allocations: 0 / 446.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1167, allocations: 7.938 kB / 446.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.117, allocations: 383.3 kB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1171, allocations: 4 kB / 446.6 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.1171, allocations: 4 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1171, allocations: 7.938 kB / 446.6 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1171, allocations: 4 kB / 446.6 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1171, allocations: 7.922 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1171, allocations: 4 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.1173, allocations: 204.4 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.863e-05/0.1174, allocations: 84.92 kB / 446.9 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.1174, allocations: 15.88 kB / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.684e-05/0.1175, allocations: 0 / 446.9 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.1175, allocations: 7.984 kB / 446.9 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1175, allocations: 4 kB / 446.9 MB, free: 108 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.1176, allocations: 147.2 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1176, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1179, allocations: 20 kB / 447.1 MB, free: 15.94 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.00152/0.1194, allocations: 1.099 MB / 448.2 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.1196, allocations: 59.92 kB / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1197, allocations: 0 / 448.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-05/0.1197, allocations: 32.05 kB / 448.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1201, allocations: 33.95 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.001746/0.1219, allocations: 1.631 MB / 450 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1222, allocations: 0.704 MB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.696e-05/0.1222, allocations: 13.19 kB / 450.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.1223, allocations: 35.42 kB / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1223, allocations: 0 / 450.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1421, allocations: 3.308 MB / 454 MB, free: 8.949 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.708/7.85, allocations: 0 / 454 MB, free: 8.949 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches