Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13",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.001021/0.001021, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 185.4 kB / 16.92 MB, free: 6.918 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.524/1.524, allocations: 205.4 MB / 223.1 MB, free: 5.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3014/0.3014, allocations: 43.58 MB / 315 MB, free: 9.074 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.0004937/0.0004937, allocations: 20.61 kB / 384.7 MB, free: 7.766 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 58.86 MB / 443.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002049/0.1053, allocations: 1.614 MB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.1065, allocations: 0.8158 MB / 446 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.592e-05/0.1066, allocations: 7.938 kB / 446 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.1068, allocations: 39.83 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.107, allocations: 39.77 kB / 446.1 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.1073, allocations: 95.83 kB / 446.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1075, allocations: 127.6 kB / 446.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1076, allocations: 29.7 kB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.12e-05/0.1077, allocations: 51.7 kB / 446.4 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.1078, allocations: 51.66 kB / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.1078, allocations: 0 / 446.4 MB, free: 9.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.993e-05/0.1079, allocations: 47.97 kB / 446.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.1079, allocations: 15.92 kB / 446.5 MB, free: 9.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.108, allocations: 69.33 kB / 446.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1082, allocations: 135.6 kB / 446.7 MB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1082, allocations: 4 kB / 446.7 MB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1082, allocations: 4 kB / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.1083, allocations: 0 / 446.7 MB, free: 9.633 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000559/0.1088, allocations: 464.5 kB / 447.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1089, allocations: 12.03 kB / 447.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1089, allocations: 34.75 kB / 447.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.1089, allocations: 16.75 kB / 447.2 MB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.1092, allocations: 220.8 kB / 447.4 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.1092, allocations: 4.375 kB / 447.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.1092, allocations: 11.94 kB / 447.4 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1095, allocations: 108.2 kB / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1095, allocations: 0 / 447.5 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1095, allocations: 4 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1095, allocations: 4 kB / 447.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1097, allocations: 51.91 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005488/0.1102, allocations: 0.5126 MB / 448.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/0.1105, allocations: 90.55 kB / 448.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.359e-05/0.1107, allocations: 40.83 kB / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1107, allocations: 0 / 448.2 MB, free: 7.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.1109, allocations: 91.31 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 2.605e-06/0.1109, allocations: 4 kB / 448.3 MB, free: 7.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.000366/0.1113, allocations: 149.3 kB / 448.5 MB, free: 7.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1113, allocations: 63.34 kB / 448.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1115, allocations: 187.5 kB / 448.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1115, allocations: 25.7 kB / 448.7 MB, free: 7.336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1116, allocations: 115.9 kB / 448.9 MB, free: 7.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1117, allocations: 35.64 kB / 448.9 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.1117, allocations: 13.72 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1118, allocations: 326.8 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.1119, allocations: 31.98 kB / 449.3 MB, free: 6.805 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.112, allocations: 68.28 kB / 449.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.1122, allocations: 104.2 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1122, allocations: 0 / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002576/0.1125, allocations: 137.7 kB / 449.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1125, allocations: 4 kB / 449.6 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1125, allocations: 8.125 kB / 449.6 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1125, allocations: 7.969 kB / 449.6 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.1127, allocations: 31.92 kB / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1127, allocations: 0 / 449.6 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.1127, allocations: 15.89 kB / 449.6 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1128, allocations: 4 kB / 449.6 MB, free: 6.395 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001003/0.1129, allocations: 129.8 kB / 449.8 MB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.1129, allocations: 11.91 kB / 449.8 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.227e-05/0.113, allocations: 25.39 kB / 449.8 MB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/0.113, allocations: 3.938 kB / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.113, allocations: 0 / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.113, allocations: 4 kB / 449.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1132, allocations: 217.4 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1132, allocations: 4 kB / 450 MB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.1132, allocations: 11.98 kB / 450 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1133, allocations: 0 / 450 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1133, allocations: 4 kB / 450 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1133, allocations: 7.875 kB / 450 MB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1133, allocations: 4 kB / 450 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003613/0.1137, allocations: 176.9 kB / 450.2 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1137, allocations: 92.94 kB / 450.3 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1137, allocations: 8 kB / 450.3 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.1138, allocations: 12 kB / 450.3 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.1139, allocations: 7.984 kB / 450.3 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1139, allocations: 4 kB / 450.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.114, allocations: 141.2 kB / 450.5 MB, free: 5.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.114, allocations: 3.938 kB / 450.5 MB, free: 5.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1142, allocations: 28.12 kB / 450.5 MB, free: 5.418 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00138/0.1156, allocations: 1.041 MB / 451.6 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002468/0.1159, allocations: 87.95 kB / 451.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1159, allocations: 0 / 451.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.5e-05/0.116, allocations: 39.92 kB / 451.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1163, allocations: 35.91 kB / 451.7 MB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1182, allocations: 1.781 MB / 453.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.1184, allocations: 0.72 MB / 454.2 MB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.1185, allocations: 13.42 kB / 454.2 MB, free: 1.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.1186, allocations: 43.41 kB / 454.3 MB, free: 1.535 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1186, allocations: 4 kB / 454.3 MB, free: 1.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4581/0.5767, allocations: 3.28 MB / 457.6 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001435/0.5769, allocations: 232.8 kB / 457.8 MB, free: 45.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.22/2.797, allocations: 4.406 kB / 457.8 MB, free: 45.09 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches