Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001109/0.001109, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001018/0.001018, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.18 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.72 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09593, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003057/0.09903, allocations: 1.797 MB / 471.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1012, allocations: 1.546 MB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.416e-05/0.1013, allocations: 0 / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1015, allocations: 55.69 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1018, allocations: 87.55 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.1022, allocations: 174.5 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.1024, allocations: 179.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.1025, allocations: 9.547 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1026, allocations: 79.64 kB / 473.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002323/0.1029, allocations: 79.61 kB / 473.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.1029, allocations: 8 kB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.103, allocations: 55.98 kB / 473.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.587e-05/0.1031, allocations: 35.83 kB / 473.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.007e-05/0.1032, allocations: 63.55 kB / 473.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1034, allocations: 167.8 kB / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1034, allocations: 0 / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1034, allocations: 0 / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.1034, allocations: 0 / 473.7 MB, free: 9.938 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006063/0.104, allocations: 470.6 kB / 474.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1041, allocations: 12.02 kB / 474.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.1041, allocations: 34.75 kB / 474.2 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.1042, allocations: 16.84 kB / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1045, allocations: 243.8 kB / 474.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1045, allocations: 8.375 kB / 474.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.1046, allocations: 7.938 kB / 474.5 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1048, allocations: 101.1 kB / 474.6 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1048, allocations: 3.984 kB / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1048, allocations: 0 / 474.6 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1048, allocations: 4 kB / 474.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.1049, allocations: 35.91 kB / 474.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.1052, allocations: 214.5 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.1055, allocations: 109.1 kB / 474.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.775e-05/0.1056, allocations: 37.7 kB / 475 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1056, allocations: 11.97 kB / 475 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.1058, allocations: 105 kB / 475.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1059, allocations: 4 kB / 475.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004272/0.1063, allocations: 165.4 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/0.1064, allocations: 128.5 kB / 475.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.1066, allocations: 215.8 kB / 475.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1066, allocations: 29.64 kB / 475.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.1067, allocations: 112.1 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.1067, allocations: 35.55 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.1068, allocations: 33.7 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1069, allocations: 322.8 kB / 476.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.37e-05/0.107, allocations: 27.98 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.1071, allocations: 69.12 kB / 476.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.1073, allocations: 91.39 kB / 476.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1073, allocations: 3.938 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002711/0.1076, allocations: 137.9 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1076, allocations: 4 kB / 476.4 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1076, allocations: 7.984 kB / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1076, allocations: 0 / 476.4 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.1077, allocations: 23.94 kB / 476.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1077, allocations: 8.062 kB / 476.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.872e-05/0.1078, allocations: 7.984 kB / 476.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1079, allocations: 4 kB / 476.5 MB, free: 6.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001127/0.108, allocations: 137.7 kB / 476.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.108, allocations: 15.81 kB / 476.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.1081, allocations: 20.98 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1081, allocations: 4 kB / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1081, allocations: 0 / 476.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1081, allocations: 7.984 kB / 476.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1083, allocations: 221.4 kB / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1083, allocations: 0 / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1083, allocations: 8 kB / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1083, allocations: 0 / 476.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1083, allocations: 7.984 kB / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.201e-05/0.1084, allocations: 0 / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1084, allocations: 0 / 476.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.1087, allocations: 173.6 kB / 477.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1087, allocations: 88.95 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.21e-05/0.1088, allocations: 4 kB / 477.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.557e-05/0.1088, allocations: 7.984 kB / 477.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.1089, allocations: 15.97 kB / 477.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1089, allocations: 4 kB / 477.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.109, allocations: 156.2 kB / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.109, allocations: 0 / 477.3 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1093, allocations: 43.98 kB / 477.4 MB, free: 5.836 MB / 350.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001455/0.1108, allocations: 1.059 MB / 478.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.111, allocations: 80.03 kB / 478.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.111, allocations: 0 / 478.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1112, allocations: 48.16 kB / 478.6 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1115, allocations: 49.47 kB / 478.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.1135, allocations: 1.824 MB / 480.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.1138, allocations: 0.7164 MB / 481.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.1139, allocations: 37.44 kB / 481.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.114, allocations: 51.41 kB / 481.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.114, allocations: 0 / 481.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.1354, allocations: 4.603 MB / 485.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.649, allocations: 11.28 kB / 485.8 MB, free: 13.46 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches