Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9",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.002044/0.002044, 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.002464/0.002464, 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.652/1.652, 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.2346/0.2346, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.001474/0.001474, allocations: 74.92 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1027, allocations: 57.79 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002588/0.1053, allocations: 1.682 MB / 442.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009618/0.1063, allocations: 0.8 MB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/0.1064, allocations: 8 kB / 443.1 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1067, allocations: 87.69 kB / 443.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.1069, allocations: 67.72 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.1071, allocations: 91.7 kB / 443.4 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.1072, allocations: 103.7 kB / 443.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.412e-05/0.1073, allocations: 20.17 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.806e-05/0.1074, allocations: 51.77 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.985e-05/0.1075, allocations: 55.81 kB / 443.6 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1075, allocations: 4 kB / 443.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.1076, allocations: 43.98 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.734e-05/0.1076, allocations: 19.92 kB / 443.7 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1077, allocations: 31.75 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1079, allocations: 111.7 kB / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1079, allocations: 0 / 443.8 MB, free: 3.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1079, allocations: 7.875 kB / 443.8 MB, free: 3.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1079, allocations: 4 kB / 443.8 MB, free: 3.586 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.0004468/0.1083, allocations: 418.9 kB / 444.2 MB, free: 3.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1084, allocations: 15.89 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.1084, allocations: 30.75 kB / 444.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.1085, allocations: 12.75 kB / 444.3 MB, free: 3.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1086, allocations: 212.1 kB / 444.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1087, allocations: 4.375 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1087, allocations: 3.938 kB / 444.5 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1088, allocations: 61.61 kB / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1088, allocations: 0 / 444.6 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1089, allocations: 3.984 kB / 444.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1089, allocations: 4 kB / 444.6 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.1089, allocations: 12 kB / 444.6 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.1093, allocations: 300.7 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1094, allocations: 66.61 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.1095, allocations: 20.84 kB / 445 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1095, allocations: 3.938 kB / 445 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.1097, allocations: 67.39 kB / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1097, allocations: 0 / 445 MB, free: 2.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005469/0.1103, allocations: 173.2 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1103, allocations: 59.34 kB / 445.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.1105, allocations: 219.5 kB / 445.5 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.1105, allocations: 25.7 kB / 445.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.1106, allocations: 104.1 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.1106, allocations: 27.64 kB / 445.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.1107, allocations: 21.72 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.1108, allocations: 322.8 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.321e-05/0.1108, allocations: 23.98 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.027e-05/0.1109, allocations: 41.64 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.77e-05/0.111, allocations: 57.7 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.111, allocations: 4 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.1112, allocations: 101.4 kB / 446.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1112, allocations: 4 kB / 446.2 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1112, allocations: 4 kB / 446.2 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.1112, allocations: 4.031 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.381e-05/0.1113, allocations: 15.98 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1113, allocations: 0 / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.1114, allocations: 11.94 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1114, allocations: 4 kB / 446.2 MB, free: 0.9297 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 9.651e-05/0.1115, allocations: 133.7 kB / 446.4 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1115, allocations: 15.81 kB / 446.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1116, allocations: 17.39 kB / 446.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1116, allocations: 4 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.1116, allocations: 4 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1116, allocations: 3.938 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/0.1119, allocations: 387.3 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.112, allocations: 0 / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.112, allocations: 8.375 kB / 446.8 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.112, allocations: 7.922 kB / 446.8 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.112, allocations: 4 kB / 446.8 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.112, allocations: 4.031 kB / 446.8 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.112, allocations: 4 kB / 446.8 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.1122, allocations: 200.5 kB / 447 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.1123, allocations: 92.86 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.1123, allocations: 7.875 kB / 447.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.1124, allocations: 7.984 kB / 447.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1124, allocations: 15.94 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1124, allocations: 4 kB / 447.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1126, allocations: 155.2 kB / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1126, allocations: 0 / 447.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.1128, allocations: 23.98 kB / 447.3 MB, free: 15.74 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.001425/0.1143, allocations: 1.096 MB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.1145, allocations: 63.95 kB / 448.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1145, allocations: 4.062 kB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.1146, allocations: 31.92 kB / 448.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1149, allocations: 27.22 kB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1167, allocations: 1.694 MB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.117, allocations: 0.7122 MB / 450.9 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.153e-05/0.1171, allocations: 16.86 kB / 450.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.1172, allocations: 39.41 kB / 451 MB, free: 12.02 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1172, allocations: 3.938 kB / 451 MB, free: 12.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.1394, allocations: 3.408 MB / 454.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/7.611, allocations: 3.938 kB / 454.4 MB, free: 8.578 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches