Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test26",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.001354/0.001354, allocations: 101.5 kB / 16.27 MB, free: 5.953 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.001642/0.001642, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.647/1.647, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2164/0.2164, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.00176/0.001761, allocations: 69.8 kB / 382.8 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09764, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002632/0.1003, allocations: 1.693 MB / 442.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.1013, allocations: 0.8 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.1014, allocations: 4 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.1017, allocations: 43.75 kB / 443.2 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002349/0.102, allocations: 55.77 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.1022, allocations: 87.75 kB / 443.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.1024, allocations: 91.7 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1025, allocations: 16.17 kB / 443.4 MB, free: 3.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.1026, allocations: 39.78 kB / 443.5 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.1026, allocations: 31.86 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.1027, allocations: 7.938 kB / 443.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.909e-05/0.1028, allocations: 35.98 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.747e-05/0.1028, allocations: 23.91 kB / 443.6 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.1029, allocations: 35.73 kB / 443.6 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001803/0.1031, allocations: 111.7 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1031, allocations: 0 / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.1031, allocations: 4 kB / 443.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1031, allocations: 0 / 443.7 MB, free: 3.707 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.0004797/0.1036, allocations: 414.9 kB / 444.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.1036, allocations: 15.83 kB / 444.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.1037, allocations: 42.69 kB / 444.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.1037, allocations: 12.75 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.1039, allocations: 210.2 kB / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1039, allocations: 384 / 444.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.104, allocations: 7.938 kB / 444.4 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1041, allocations: 53.67 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1041, allocations: 4 kB / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1042, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1042, allocations: 0 / 444.4 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.1042, allocations: 27.92 kB / 444.5 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.1045, allocations: 284.9 kB / 444.7 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1047, allocations: 62.61 kB / 444.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.682e-05/0.1048, allocations: 20.86 kB / 444.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1048, allocations: 4 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.105, allocations: 67.31 kB / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.105, allocations: 0 / 444.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004744/0.1055, allocations: 177.1 kB / 445.1 MB, free: 2.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.1055, allocations: 59.41 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.1056, allocations: 199.3 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.1057, allocations: 33.69 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.1057, allocations: 104 kB / 445.5 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1057, allocations: 31.62 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.1058, allocations: 21.72 kB / 445.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.397e-05/0.1058, allocations: 322.8 kB / 445.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.1059, allocations: 23.98 kB / 445.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.443e-05/0.1059, allocations: 37.7 kB / 445.9 MB, free: 1.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.451e-05/0.106, allocations: 61.64 kB / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1061, allocations: 0 / 445.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000148/0.1062, allocations: 93.59 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1062, allocations: 8 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1062, allocations: 0 / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.1063, allocations: 0 / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.1064, allocations: 23.95 kB / 446.1 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1064, allocations: 7.938 kB / 446.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.1064, allocations: 3.938 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1064, allocations: 4 kB / 446.1 MB, free: 1.074 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.366e-05/0.1065, allocations: 133.3 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1066, allocations: 15.81 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.1066, allocations: 13.41 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1066, allocations: 0 / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1066, allocations: 7.984 kB / 446.3 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.1066, allocations: 3.938 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.107, allocations: 391.3 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.107, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-05/0.107, allocations: 8.375 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.107, allocations: 11.88 kB / 446.7 MB, free: 444 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.107, allocations: 4 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.107, allocations: 4.172 kB / 446.7 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.107, allocations: 4.031 kB / 446.7 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.1072, allocations: 200.2 kB / 446.9 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.279e-05/0.1073, allocations: 88.92 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.1073, allocations: 7.938 kB / 447 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.536e-05/0.1074, allocations: 4 kB / 447 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.1074, allocations: 7.984 kB / 447 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.1074, allocations: 8 kB / 447 MB, free: 76 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1076, allocations: 151.9 kB / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1076, allocations: 0 / 447.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1079, allocations: 24 kB / 447.2 MB, free: 15.9 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.001602/0.1095, allocations: 1.099 MB / 448.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.1097, allocations: 59.92 kB / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1097, allocations: 0 / 448.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.1098, allocations: 35.98 kB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003738/0.1102, allocations: 26 kB / 448.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1121, allocations: 1.663 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.1124, allocations: 0.7041 MB / 450.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.1124, allocations: 17.17 kB / 450.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.953e-05/0.1125, allocations: 47.36 kB / 450.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1125, allocations: 0 / 450.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.131, allocations: 3.359 MB / 454.2 MB, free: 8.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.461/7.592, allocations: 3.938 kB / 454.2 MB, free: 8.812 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_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_Test26.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches